fw-toolcall crate
Tool catalogue model for the aphrody agent engine: ToolDefinition (name / description / JSON-schema input & output), the async ToolExecutor trait, ToolExposure (Direct / Deferred / DirectModelOnly / Hidden), and a JsonSchema type with prompt-budget compaction passes. Inspired by OpenAI Codex tools (Apache-2.0). Legacy crates.io name: aphrody-toolcall.
Package
Section titled “Package”| Field | Value |
|---|---|
| Version | 2026.11.0 |
| Part of | fw crates |
| Source | crates/fw-toolcall |
| License | Apache-2.0 |
| Edition | 2024 |
Targets
Section titled “Targets”| Kind | Name |
|---|---|
| lib | fw_toolcall |
Workspace dependencies
Section titled “Workspace dependencies”fw-config, fw-http, fw-proc. It also uses 11 crates from outside the workspace.
Used by
Section titled “Used by”fw-agent, fw-gemini, fw-llama, fw-model, fw-rag
Features
Section titled “Features”default, full, mcp, repair
Run this from the repository root.
cargo build --release -p fw-toolcall