tool
Tool owns the callable tool contract and registry.
Language: rust
Path: crates/tool
Owns:
- Tool trait
- Registry
- tool specs
- tool lookup
- tool call boundary
Must Not:
- decide per-turn permissions alone
- own agent loop state
- write durable run state
Inputs:
- JSON tool input
- tool call request
- registered tool implementations
Outputs:
- JSON tool output
- tool call result
- tool registry names
Used By:
- agent
Verify:
- cargo check -p tool