add-tool
Add a custom function tool to a Strands agent in Python or TypeScript. Use when the user asks to let a Strands agent call application code, an API, or another deterministic capability.
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit strands-agents/harness-sdk/.agents/skills/strands/skills/add-tool .claude/skills/add-toolOr install it for every project:
npx degit strands-agents/harness-sdk/.agents/skills/strands/skills/add-tool ~/.claude/skills/add-toolFile content
Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗
--- name: add-tool description: Add a custom function tool to a Strands agent in Python or TypeScript. Use when the user asks to let a Strands agent call application code, an API, or another deterministic capability. --- # Add a tool to a Strands agent Read [the shared Strands skill](../../SKILL.md) and [the tool guide](../../references/add-tool.md) completely. Inspect the existing agent and implement one narrow tool with a model-readable description and typed input schema. Keep secrets and caller identity out of model-visible parameters. Test the deterministic capability directly, then exercise an agent request that requires the tool when model credentials are available.