/pattern/agentic/execution/tool-use/

Execution · ADP

Tool Use

Proxy / adapter interface for safe external function calls, enforcing argument validation and capability scoping.

Addresses
Safe tool boundaries — argument validation, capability scoping, error normalization.
When it stabilizes
When tools are provided by third parties, when argument schemas drift, or when a tool's failure mode could corrupt agent state.
Example
An MCP client adapter validates every argument against the server's JSONSchema before dispatch, returning a normalized error if validation fails.

Search

Search patterns, frameworks, and pages.