Layer 3 · capability
tool
Something an agent can call. A tool provider supplies tools: built in, a tool server, a shell, a connector or another agent. A tool has a contract (input and output as content digests), a category and whether its effect leaves the sandbox. A withdrawn tool takes no new call. A call of a tool is an act of a harness session and is held by agentic.harness.
Depends on
- shared · layer 0 · 8 references
Used by
Entities
Tool
One tool of one provider. The contract is held as digests of the input and output schemas, never the schemas.
Identified by tool_id (ToolId).
| field | type | meaning |
|---|---|---|
tool_provider_id | ToolProviderId | |
name | Name | |
input_contract | Content | |
output_contract | Content | |
category | ToolCategory | |
leaves_sandbox | boolean | Whether the effect of a call reaches beyond the sandbox the caller runs in. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Lifecycle of Tool
Withdrawn.ToolProvider
Whatever supplies tools to harnesses.
Identified by tool_provider_id (ToolProviderId).
| field | type |
|---|---|
name | Name |
kind | ToolProviderKind |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
toolsowns Tool (many, bytool_provider_id)
Lifecycle: one state, Registered; a recorded ToolProvider does not change.
Commands
PublishTool
Publish a tool.
Called by: Tool catalogue.
| field | type |
|---|---|
tool_id | ToolId |
tool_provider_id | ToolProviderId |
name | Name |
input_contract | Content |
output_contract | Content |
category | ToolCategory |
leaves_sandbox | boolean |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown-provider refused | no ToolProvider for tool_ | Unknown: No tool provider of this identity is registered. |
published | otherwise | creates a Tool in Published; emits Tool |
More columns: swipe horizontally, or focus the table and use the arrow keys.
RegisterToolProvider
Register a tool provider.
Called by: Tool catalogue.
| field | type |
|---|---|
tool_provider_id | ToolProviderId |
name | Name |
kind | ToolProviderKind |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
registered | otherwise | creates a ToolProvider in Registered; emits Tool |
More columns: swipe horizontally, or focus the table and use the arrow keys.
WithdrawTool
Withdraw a tool.
Called by: Tool catalogue.
| field | type |
|---|---|
tool_id | ToolId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
withdrawn | otherwise | moves the Tool Published → Withdrawn; emits Tool |
wrong-state refused | the Tool is in a state that does not allow it | Tool: The tool is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Events
| event | fields | emitted by |
|---|---|---|
ToolProviderRegistered | tool_ ToolProviderId, name Name, kind ToolProviderKind | Register |
ToolPublished | tool_ ToolId, tool_ ToolProviderId, name Name, category ToolCategory, leaves_ boolean | Publish |
ToolWithdrawn | tool_ ToolId | Withdraw |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Views
| view | rows | fields |
|---|---|---|
ToolProvidersTool providers | each ToolProvider | tool_ ToolProviderId, name Name, kind ToolProviderKind, state State |
ToolsTools | each Tool | tool_ ToolId, tool_ ToolProviderId, name Name, input_ Content, output_ Content, category ToolCategory, leaves_ boolean, state State |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Types
| type | is | values or fields |
|---|---|---|
ToolProviderKindWhere a tool comes from. BuiltIn ships with the harness, ToolServer is served over a tool protocol, Shell is a command line, Connector is an integration to an outside service, Agent is another agent called as a tool. | one of | Built, Tool, Shell, Connector, Agent |
More columns: swipe horizontally, or focus the table and use the arrow keys.
KPIs
4 KPIs from the KPI catalogue. A gate must be zero for a variant of an architecture to count.
Correctness
| KPI | unit | better | gate | status |
|---|---|---|---|---|
unpublished_tool_callsCalls of a tool that is not published or was withdrawn. How: ToolCallRequested events whose tool has no ToolPublished before it, or a ToolWithdrawn after the last ToolPublished. Must be 0. | count | lower | gate | planned source: design |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Quality
| KPI | unit | better | gate | status |
|---|---|---|---|---|
tool_error_rateShare of tool calls that ended in an error. How: ToolCallCompleted events with an error divided by all ToolCallCompleted events, per tool and per category. | share | lower | – | planned source: design |
tool_duration_p90_seconds90th percentile of the time a tool call took. How: Seconds between ToolCallRequested and ToolCallCompleted of the same call, 90th percentile per tool. | seconds | lower | – | planned source: design |
error_recovery_shareShare of tool errors after which the agent's next call succeeded. How: Failed tool calls whose next call by the same agent, within 3 calls, succeeded, divided by failed tool calls. Compare errors that state the next step with errors that do not. | share | higher | – | planned source: research/2609.35381 |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Settings
The settings a part of this block carries in an architecture document. agenticspec sim check refuses any other setting (setting_unknown) and a value outside its type (setting_invalid), and a part that lacks a setting marked required in the default column; the contract copies a setting into the ports it narrows. The last rows of each table are the settings every part takes. What no setting here types (a file, a path, an audience, the use of a model) goes into the part's notes, a map with free keys and values that the check takes as written and nothing reads.
A part tool:
| setting | type | unit | default | contract | what |
|---|---|---|---|---|---|
kind | string | What the tool is. | |||
category | enum Tool: read, search, edit, execute, network, spawn, message, plan, delete, other | The category of the tool's calls, the one an authority decides on. | |||
via | string | The endpoint of the architecture (endpoints:) the tool is reached through: a tool behind it runs in no unit of a deployment, and a call to it is egress to the endpoint. | |||
inputs | inputs | The shape of a call's arguments: a map from an input name to string, integer, number or boolean, a trailing ? for an optional one. The grants of a contract carry it; it narrows no port. | |||
count | integer of at least 1 | 1 | How many copies of the part run. | ||
per | part | One copy of the part for each copy of the named part. | |||
notes | notes | Free notes on the part, a map with keys and values of any kind: what no setting of its block types. The check takes any map; the simulator, the search and the contract never read it. |
More columns: swipe horizontally, or focus the table and use the arrow keys.