Pause a sensitive tool call until a person approves or rejects it
Answer: Use a human-in-the-loop approval flow so a sensitive tool call waits until a person approves or rejects it. Tools declare when they need approval, and an approval policy can require a human operator for all or some calls.
Why it matters
The OpenAI Agents SDK can pause execution when a tool call is sensitive. Tools declare when they need approval. Pending approvals show up as interruptions on the run result. That approval surface is run-wide. It is not limited to the current top-level agent, and it still applies after a handoff or when a nested agent is used as a tool. After a decision, you can serialize paused runs and resume them. You do not need to resolve every pending approval in the same pass.
Inspect's approval mode lets you write fine-grained policies for tool calls made by models. The simplest approval policy is interactive human approval of all tool calls. You can also require a human operator only for selected calls and let the rest run. Custom approvers can approve, reject, or escalate to another approver.
Declare the needTools declare when they need approvalRun-wide pauseThe approval surface is run-wideHuman or custom policyApprove all calls, some calls, or escalate
See also
Claims
- id: C1 claim: Tools declare when they need approval before they run. source: S1 evidence: "Tools declare when they need approval"
- id: C2 claim: The approval surface applies to the whole run, not only the top-level agent. source: S1 evidence: "That approval surface is run-wide, not limited to the current top-level agent."
- id: C3 claim: The simplest Inspect policy is interactive human approval of all tool calls. source: S2 evidence: "The simplest approval policy is interactive human approval of all tool calls."
Sources
- [S1] Human-in-the-loop. OpenAI Agents SDK. https://github.com/openai/openai-agents-python/blob/main/docs/human_in_the_loop.md . License: MIT. Accessed 2026-11-22.
- [S2] Tool Approval. Inspect AI (UK AI Security Institute). https://github.com/UKGovernmentBEIS/inspect_ai/blob/main/docs/approval.qmd . License: MIT. Accessed 2026-11-22.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: OpenAI Agents SDK, Human-in-the-loop, MIT; Inspect AI, Tool Approval, MIT. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: OpenAI Agents SDK, Human-in-the-loop, MIT; Inspect AI, Tool Approval, MIT.
Cite this
iinventedlight. 2026. "Pause a sensitive tool call until a person approves or rejects it." iinventedlight Library, iil:note:z63ve6mh, version of 2026-11-22. https://iinventedlight.com/library/notes/human-in-the-loop-approvals/. License: CC-BY-4.0.
@misc{iil_note_z63ve6mh,
author = {{iinventedlight}},
title = {{Pause a sensitive tool call until a person approves or rejects it}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-22},
url = {https://iinventedlight.com/library/notes/human-in-the-loop-approvals/},
note = {Permanent ID iil:note:z63ve6mh. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/human-in-the-loop-approvals.md.