Enabling in Agent Card

{
  "capabilities": {
    "pushNotifications": true
  }
}

Server advertises support. Clients that need it can opt in.

Advertisement

Configuring a task

{
  "method": "tasks/send",
  "params": {
    "id": "task-9c1",
    "pushNotification": {
      "url": "https://client.example.com/webhook",
      "token": "opaque-token"
    },
    "message": {...}
  }
}
Advertisement

The callback

Server POSTs to the webhook URL when task terminates. Payload includes taskId + final status + artifacts.