tools.approval

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

Human-in-the-loop tool approval — session-backed pending gates.

Human-in-the-loop tool approval — session-backed pending gates.

tools.approval

Name Type Default Description
type —
qualified_name —
element_type —
description —
source_file —
line_number —
is_autodoc —
autodoc_element —
_autodoc_template —
_autodoc_url_path —
_autodoc_page_type —
title —
doc_content_hash —

Symbols on this page

ToolApprovalError
class

Raised when a tool requires human approval before execution.

PendingToolApproval
class

One tool invocation awaiting or completing human review.

ToolApprovalStore
class

Persist pending tool approvals keyed by approval_id.

InMemoryToolApprovalStore
class

Process-local approval store for tests and demos.

SessionToolApprovalStore
class

Persist pending approvals in the server session.

View source · /home/runner/work/chirp/chirp/site/../src/chirp/tools/approval.py:1