Agent Systems: Tool-Use Pattern
Intent
Expose external capabilities through a stable action–observation interface.
Outline
- Recurring problem: language generation is not the right mechanism for deterministic operations or external state.
- Structure:
agent → tool schema → external capability → observation → agent. - Stable interface: tool name, schema, arguments, return value, and error behavior.
- Variable implementation: web service, database, calculator, code runner, or vault operation.
- Strength: delegates deterministic operations to appropriate tools.
- Risks: unsafe actions, brittle schemas, and unvalidated observations.
- Example: read and write structured notes through a vault interface.
Suggested figure
06-tool-use.svg in the Agent design pattern illustration folder.
