Beta Managed Agents User Tool Confirmation Event Params
BetaManagedAgentsUserToolConfirmationEventParams objectParameters for confirming or denying a tool execution request.
type: "user.tool_confirmation"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.minLength: 1, maxLength: 128
deny_message: optional string or nullOptional message providing context for a 'deny' decision. Only allowed when result is 'deny'.
maxLength: 10000