Skip to content
中文

Tools & capabilities ​

Core · Interfaces & runtime guarantees · Back to layer index

SymbolKindPurpose
ErasedToolinterfaceType-erased tool shape the registry executes after parsing at the boundary.
ExecutableToolinterfaceOne registered tool, typed by its input, output, host context and id literal.
executeInvocationfunctionRun one synchronous invocation and record its effects.
InvocationHandlerinterfaceA named handler invoked by a tool lifecycle step.
RegisteredTooltypeRegistered snapshot: public data is retained, implementation helpers are not a contract.
ToolDefinitiontypeConfiguration form; Support supplies the identity resolver when omitted.
ToolExecutionContextinterfaceExecution facts handed to a tool for one invocation.
ToolExecutionEventinterfaceFact emitted when one tool call settles, correlated by invocationId.
ToolInvocationPortsinterfaceOptional tools the lifecycle resolves from the host context for one invocation.
ToolInvocationRequestinterfaceOne invocation request; the registry supplies signal and diagnostics when omitted.
ToolJournalinterfaceRequest-local execution receipts; the host decides their domain content.
ToolJournalFinishinterfaceClosing record for one tool call, written once with the terminal outcome.
ToolJournalStartinterfaceOpening record for one tool call, written before the handler runs.
ToolRegistryclassRegistry mechanism only: visibility, authorization policy, schemas and semantic metadata are host registrations. A registry is mutable until sealed and keeps its own call log.
ToolRegistryOptionsinterfaceRegistry construction options.
ToolRegistryPortsinterfaceHost ports a tool registry needs in addition to the tool definitions.

API reference, usage examples and developer guides.