ajshedivy/agno-cookbook/agno-tools
Claude Code and agent skill by ajshedivy/agno-cookbook
- community
Checking that the SKILL.md file is still in the repository.
Create custom tools for Agno agents. Covers function tools, the @tool decorator, toolkit classes, RunContext for state access, and MCP tool integration. Trigger this skill when: writing custom agent tools, importing agno.tools, using @tool decorator, creating toolkit classes, or asking "how do I create tools for Agno agents?"
Install
npx vskill@latest install ajshedivy/agno-cookbook/agno-toolsSKILL.md
The same SKILL.md was published earlier as ajshedivy/agno-cookbook/agno-tools.
Create Agno Tools
Agno agents use tools to interact with external systems. You can use built-in toolkits, write plain functions, or use the @tool decorator.
Function Tools (Simplest)
Any Python function can be a tool. Add type hints and a docstring for the agent to understand it:
Function Tools with RunContext
Access session state and agent context by accepting run_context: RunContext as the first parameter:
The RunContext parameter is automatically injected — the agent does not see it as a tool argument.
@tool Decorator
Use @tool for additional control like requiring user confirmation:
Built-in Toolkits
Agno ships with 90+ built-in toolkits. Common ones:
MCP Tool Integration
Connect to MCP servers to use external tools:
Combining Multiple Tool Sources
Agents accept a list of tools — mix toolkits, functions, and decorators:
Tool Docstrings Matter
The agent reads docstrings and type hints to understand tools. Write clear, specific descriptions:
Anti-Patterns
- Don't forget type hints — the agent uses them to generate tool schemas
- Don't skip docstrings — the agent needs descriptions to know when to use tools
- Don't use `run_context` as a regular parameter — it must be the first parameter and is auto-injected
- Don't return complex objects — return strings; the agent processes text
- Don't put `RunContext` in the docstring Args — it's invisible to the agent
Further Reading
For the full built-in tools listing and MCP patterns, read references/api-patterns.md.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/agno-framework/skills/agno-tools/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ajshedivy/agno-cookbook/agno-tools)