allow
Approves a pending session approval request so matching calls stop prompting for the rest of that session; persistent rules are never written.
Instructions
Allow and stop asking for similar calls in this session only. Uses the agent's session-scoped option when it offers one; otherwise this server allows once and answers matching requests itself until the session closes. Never writes a persistent agent rule. Blocks until the turn is done, needs an approval or asks a question; the server sets no time limit. If your client times out, the turn keeps running and the connection stays: call status for the state and output for the reply instead of sending the task again. Returns "approval_needed" with an approval to answer via approve / allow / reject, or "question_needed" with a question to answer via answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the result (default true). false returns right after sending. | |
| session | Yes | Session id returned by open | |
| approval_id | Yes | approval_id from the approval_needed result |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | ||
| status | Yes | ||
| outcome | No | ||
| turn_id | No | ||
| approval | No | ||
| question | No |