Study FAQ
How do I define a Claude client tool that is easy to select and safe to dispatch?
Also asked as 2
- What should a Claude tool name, description, and input schema include?
- How should I decide whether to combine operations or expose separate Claude tools?
Answer
Give each Claude client tool a stable, descriptive name, a description explaining when to use it and what it changes, and a narrow input_schema. Register it to a reviewed handler in the application. Combine closely related operations when they share purpose and safeguards. Split them when authorization, effect, failure behavior, or ownership differs materially. Define tools Building effective agents
Describe the outcome, prerequisites, each parameter, and whether it reads, proposes, or changes something. Use semantic values such as an application record or template identifier and a closed channel enumeration. Check required properties and unexpected fields locally. If using strict: true, verify schema compatibility for your model and API surface, account for the documented string enum and const casing exception, and validate meaning in application code. Define tools Claude structured outputs
Claude proposes the call. Resolve resource and identity in trusted state, then enforce authorization before dispatch. Start with narrow tools for the current task and use test cases to distinguish a poor description from validation or handler defects. How tool use works Troubleshoot tool use
Full explanation
Implementing Claude Tools with Safe Execution and Approval Patterns
Study guide · CCDV-F
Read the full explanation