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.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | yes | The Polygraph session ID, or a Polygraph app session URL (/s/<session-id> or /orgs/<org-id>/sessions/<session-id>). |
repo | string | yes | Repo name or ID of the child agent holding the permission gate. |
reason | string | no | Optional reason for denying the request. |