工具与能力
Core · 接口与运行保证 · 返回本层目录
| 符号 | 类别 | 用途 |
|---|---|---|
ErasedTool | interface | Type-erased tool shape the registry executes after parsing at the boundary. |
ExecutableTool | interface | One registered tool, typed by its input, output, host context and id literal. |
executeInvocation | function | Run one synchronous invocation and record its effects. |
InvocationHandler | interface | A named handler invoked by a tool lifecycle step. |
RegisteredTool | type | Registered snapshot: public data is retained, implementation helpers are not a contract. |
ToolDefinition | type | Configuration form; Support supplies the identity resolver when omitted. |
ToolExecutionContext | interface | Execution facts handed to a tool for one invocation. |
ToolExecutionEvent | interface | Fact emitted when one tool call settles, correlated by invocationId. |
ToolInvocationPorts | interface | Optional tools the lifecycle resolves from the host context for one invocation. |
ToolInvocationRequest | interface | One invocation request; the registry supplies signal and diagnostics when omitted. |
ToolJournal | interface | Request-local execution receipts; the host decides their domain content. |
ToolJournalFinish | interface | Closing record for one tool call, written once with the terminal outcome. |
ToolJournalStart | interface | Opening record for one tool call, written before the handler runs. |
ToolRegistry | class | Registry mechanism only: visibility, authorization policy, schemas and semantic metadata are host registrations. A registry is mutable until sealed and keeps its own call log. |
ToolRegistryOptions | interface | Registry construction options. |
ToolRegistryPorts | interface | Host ports a tool registry needs in addition to the tool definitions. |