pydantic-ai-tool-system
CommunityRegister and implement PydanticAI tools with context.
Authoranderskev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps teams register and implement PydanticAI tools with proper context handling, type annotations, and docstrings to enable reliable tool usage by agents.
Core Features & Use Cases
- Tool registration with two decorators: one supporting RunContext and one plain version without context.
- Enforced docstrings and Google/Sphinx formats for clear tool semantics.
- Support for various return types (string, dict, Pydantic models, ToolReturn).
- Access to context (deps, model info, usage, retry, messages) for dynamic tool behavior.
- Toolsets and dynamic preparation to filter or modify tools per request.
Quick Start
Define an Agent, decorate a function with @agent.tool (ctx-aware) or @agent.tool_plain (no ctx), ensure docstrings, and register toolsets for reuse.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pydantic-ai-tool-system Download link: https://github.com/anderskev/beagle/archive/main.zip#pydantic-ai-tool-system Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.