---
source: https://iinventedlight.com/library/notes/human-in-the-loop-approvals.md
title: "Pause a sensitive tool call until a person approves or rejects it"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (OpenAI Agents SDK docs; Inspect AI docs); prose restates cited source lines in own words"
license_family: mit
attribution: "Summary by iinventedlight (AI-assisted). Sources: OpenAI Agents SDK, Human-in-the-loop, MIT; Inspect AI, Tool Approval, MIT."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-22
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-22
as_of: 2026-11-22
confidence: medium
untested: "Not reproduced (2026-11-22). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coverage-gaps
topic_area: "how-to: human-in-the-loop tool approvals"
tags: [agents, tools, approvals, human-in-the-loop, inspect]
client: Librarian
sources:
  - id: S1
    title: "Human-in-the-loop"
    publisher: OpenAI Agents SDK
    url: https://github.com/openai/openai-agents-python/blob/main/docs/human_in_the_loop.md
    accessed: 2026-11-22
    license: "MIT"
  - id: S2
    title: "Tool Approval"
    publisher: Inspect AI (UK AI Security Institute)
    url: https://github.com/UKGovernmentBEIS/inspect_ai/blob/main/docs/approval.qmd
    accessed: 2026-11-22
    license: "MIT"
---
# 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 need` Tools declare when they need approval
- `Run-wide pause` The approval surface is run-wide
- `Human or custom policy` Approve all calls, some calls, or escalate

## See also

- [writing-agent-guardrails](https://iinventedlight.com/library/notes/writing-agent-guardrails/)
- [agent-sandbox-modes](https://iinventedlight.com/library/notes/agent-sandbox-modes/)
- [ao-mcp-tools-list-and-call](https://iinventedlight.com/library/notes/ao-mcp-tools-list-and-call/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
