Expand description
ToolProxy — wraps a runtime’s tool dispatch so every call passes through
the effect ledger.
Adapter authors register their tools by name once, then invoke through the proxy. The proxy hashes args, mints an idempotency key, runs the tool, hashes the result, appends to the ledger, returns the result.
Structs§
- Tool
Proxy - Holds tool registrations + the ledger + the secret.
Send + Syncvia innerMutex; cheap toclone().
Traits§
- Tool
Handler - A dispatchable tool. Synchronous for the v1 proxy; the SDKs wrap this in
tokio::task::spawn_blockingfor async use.