Beta Managed Agents User Tool Confirmation Event
BetaManagedAgentsUserToolConfirmationEvent objectA tool confirmation event that approves or denies a pending tool execution.
type: "user.tool_confirmation"id: stringUnique identifier for this event.
result: "allow" or "deny"UserToolConfirmationResult enum
"allow""deny"
tool_use_id: stringThe id of the
agent.tool_useoragent.mcp_tool_useevent this result corresponds to, which can be found in the lastsession.status_idleevent'sstop_reason.event_idsfield.deny_message: optional string or nullOptional message providing context for a 'deny' decision. Only allowed when result is 'deny'.
maxLength: 10000
processed_at: optional string or nullA timestamp in RFC 3339 format
format: date-time
session_thread_id: optional string or nullWhen set, the confirmation routes to this subagent's thread rather than the primary. Echo this from the
session_thread_idon theagent.tool_useoragent.mcp_tool_useevent that prompted the approval.