How Agents report tool call execution
session/update
notifications, allowing Clients to display real-time progress and results to users.
While Agents handle the actual execution, they may leverage Client capabilities like permission requests or file system access to provide a richer, more integrated experience.
pending
)session/update
notification with tool_call_update
:
toolCallId
are optional in updates. Only the fields being changed need to be included.
session/request_permission
method:
"cancelled"
outcome:
cancelled
- The prompt turn was
cancelled - selected
with an optionId
- The
ID of the selected permission optionallow_once
- Allow this operation only this timeallow_always
- Allow this operation and remember the choicereject_once
- Reject this operation only this timereject_always
- Reject this operation and remember the choice