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
Raised when a tool requires human approval before execution.
One tool invocation awaiting or completing human review.
Persist pending tool approvals keyed by approval_id.
Process-local approval store for tests and demos.
Persist pending approvals in the server session.
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