Skip to content
Agentic AI for serious engineers
Pattern

Tool Registry

All tools available to the agent are declared in one schema-validated registry with explicit input/output types.

When to use

Every agent that calls more than one tool. The registry is the source of truth for what tools exist, what they accept, and what they return. Schema validation rejects malformed tool calls at the boundary instead of mid-flight.

When not to use

When the agent calls only one tool. The overhead of a registry isn't worth it for trivial cases — just call the tool directly.

Used in