Expand description
Execution context types for tools and plugins.
ToolCallContext provides state access, run policy, and identity for tool execution.
It replaces direct &Thread usage in tool signatures, keeping the persistent
entity (Thread) invisible to tools and plugins.
Structs§
- Activity
Context - Activity-scoped state context.
- Caller
Context - Typed caller metadata exposed to tool executions.
- Tool
Call Context - Execution context for tool invocations.
- Tool
Call Progress State - Canonical tree-node payload for tool-call progress updates.
- Tool
Call Progress State Ref - Typed state reference for reading and writing state.
- Tool
Call Progress Update - Input shape for publishing tool-call progress updates.
- Tool
Progress State - Canonical activity state shape for tool progress updates.
- Tool
Progress State Ref - Typed state reference for reading and writing state.
Enums§
- Tool
Call Progress Status - Status marker for a tool-call progress node.
Constants§
- TOOL_
CALL_ PROGRESS_ ACTIVITY_ TYPE - Activity type used for tool-call progress updates.
- TOOL_
CALL_ PROGRESS_ SCHEMA - Canonical payload schema version for tool-call progress events.
- TOOL_
CALL_ PROGRESS_ TYPE - Canonical payload
typevalue for tool-call progress events. - TOOL_
PROGRESS_ ACTIVITY_ TYPE - Legacy public alias kept for backward compatibility.
- TOOL_
PROGRESS_ ACTIVITY_ TYPE_ LEGACY - Legacy activity type accepted by consumers.
Traits§
- Tool
Call Progress Sink - Sink interface for tool-call progress events.