Skip to content

deny_agent

Deny a child agent's pending permission-required request.

Use when show_agent reports a task in permission-required state and you want to deny the requested action. The child continues without performing it. Intended for MCP clients without elicitation support; clients with elicitation render a permission dialog and resolve the gate automatically.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID, or a Polygraph app session URL (/s/<session-id> or /orgs/<org-id>/sessions/<session-id>).
repostringyesRepo name or ID of the child agent holding the permission gate.
reasonstringnoOptional reason for denying the request.