Tools & capabilities
Kit · Optional business libraries · Back to layer index
| Symbol | Kind | Purpose |
|---|---|---|
LifecycleHooks | interface | Everything one tool declares for a request. Declaring id turns the tool into an invocation owner, so protocol and call become required in practice; the registry rejects a partial declaration. Every other hook is optional and returning nothing expresses "no opinion". |
LifecycleProtocol | interface | Output protocol carried by a tool lifecycle. |
Policy | interface | Registration policy shared by every tool in the registry. |
RegisteredToolDefinition | type | Registered snapshot with frozen goal ids and projected hooks. |
Tool | interface | A registered tool: model metadata plus one optional lifecycle block. |
ToolFinalizer | type | Converts an executed decision into the tool result; must be synchronous. |
ToolLifecycleRegistry | class | Registry of tools whose lifecycle, protocols and context contributions the App declares. Registration is only possible before seal(); afterwards the catalog is read-only, so a run cannot change which tools exist. Every hook is optional and is applied in registration order, which is why registerAll preserves iteration order. |
ToolModelField | interface | One model-context field contributed by a tool. |
ToolNormalizer | type | Converts untrusted input into a decision; must be synchronous. |
ToolProtocol | type | Protocol type of a tool's lifecycle invocation. |
ToolRegistration | type | Declaration form; the registry derives the ModelTool projection from existing handlers. |
ToolRuntimeTypes | interface | One schema binds lifecycle handler types without introducing platform fields into core. |
ToolsOptions | interface | Construction options for a tool registry. |