Structs§
- Extension
Data - Typed extension-owned data attached to one host object.
- Extension
Registry - Immutable typed registry produced after extensions are installed.
- Extension
Registry Builder - Mutable registry used while hosts register typed runtime contributions.
- Json
Tool Output - Noop
Extension Event Sink - Event sink used when the host does not expose extension event emission.
- Prompt
Fragment - Responses
ApiTool - Thread
Resume Input - Input supplied when the host resumes an existing thread.
- Thread
Start Input - Input supplied when the host starts a runtime for a thread.
- Thread
Stop Input - Input supplied when the host stops a thread runtime.
- Tool
Call - Tool
Finish Input - Input supplied when the host finishes executing one tool call.
- Tool
Name - Identifies a callable tool, preserving the namespace split when the model provides one.
- Tool
Start Input - Input supplied when the host starts executing one tool call.
- Turn
Abort Input - Input supplied when the host aborts a turn.
- Turn
Start Input - Input supplied when the host starts a turn.
- Turn
Stop Input - Input supplied when the host completes a turn.
Enums§
- Function
Call Error - Error returned while executing a model-visible tool invocation.
- Prompt
Slot - Tool
Call Outcome - Extension-facing outcome for a finished tool call.
- Tool
Call Source - Host-visible source for a model tool call.
- Tool
Payload - Canonical payload shapes accepted by model-visible tool runtimes.
- Tool
Spec - When serialized as JSON, this produces a valid “Tool” in the OpenAI Responses API.
Traits§
- Agent
Spawner - Constructor-injected host helper for extensions that need to spawn subagents.
- Approval
Review Contributor - Extension contribution that can claim rendered approval-review prompts.
- Config
Contributor - Contributor for host-owned configuration changes.
- Context
Contributor - Extension contribution that adds prompt fragments during prompt assembly.
- Extension
Event Sink - Host-provided fire-and-forget sink for extension-generated events.
- Thread
Lifecycle Contributor - Contributor for host-owned thread lifecycle gates.
- Token
Usage Contributor - Contributor for token usage checkpoints reported by the model provider.
- Tool
Contributor - Extension contribution that exposes native tools owned by a feature.
- Tool
Executor - Shared runtime contract for model-visible tools.
- Tool
Lifecycle Contributor - Contributor for host-owned tool lifecycle gates.
- Tool
Output - Model-facing output contract returned by executable tool runtimes.
- Turn
Item Contributor - Ordered post-processing contribution for one parsed turn item.
- Turn
Lifecycle Contributor - Contributor for host-owned turn lifecycle gates.
Functions§
- empty_
extension_ registry - Creates an empty shared registry for hosts that do not register contributions.
- parse_
tool_ input_ schema - Parse the tool
input_schemaor return an error for invalid schema.
Type Aliases§
- Agent
Spawn Future - Future returned by one injected subagent-spawn helper.
- Tool
Lifecycle Future - Future returned by one tool-lifecycle callback.