← Back to list

tool-integration
by IbIFACE-Tech
Paracle is a framework for building AI native app and project.
⭐ 0🍴 0📅 Jan 19, 2026
SKILL.md
name: tool-integration description: Create custom tools, integrate external APIs, and manage tool registry. Use when extending agent capabilities with new tools. license: Apache-2.0 compatibility: Python 3.10+, Pydantic metadata: author: paracle-core-team version: "1.0.0" category: integration level: advanced display_name: "Tool Integration" tags: - tools - integration - api - custom-tools capabilities: - tool_creation - api_integration - tool_registration allowed-tools: Read Write Bash(python:*)
Tool Integration Skill
When to use this skill
Use when:
- Creating custom tools for agents
- Integrating external APIs
- Adding MCP (Model Context Protocol) servers
- Managing tool registry
- Testing tool implementations
Tool Structure
# .parac/tools/custom/weather_tool.py
from pydantic import BaseModel, Field
from paracle_tools import Tool, ToolResult
class WeatherInput(BaseModel):
\"\"\"Input for weather tool.\"\"\"
location: str = Field(..., description=\"City name\")
units: str = Field(default=\"metric\", description=\"Temperature units\")
class WeatherTool(Tool):
\"\"\"Get current weather for a location.\"\"\"
name = \"get-weather\"
description = \"Get current weather conditions for a location\"
input_schema = WeatherInput
async def execute(self, input_data: WeatherInput) -> ToolResult:
\"\"\"Execute weather lookup.\"\"\"
# Call external API
weather_data = await fetch_weather_api(
location=input_data.location,
units=input_data.units,
)
return ToolResult(
success=True,
output=f\"Temperature in {input_data.location}: {weather_data['temp']}°\",
metadata=weather_data,
)
Tool Registration
# .parac/tools/registry.yaml
tools:
- name: get-weather
path: .parac/tools/custom/weather_tool.py
class: WeatherTool
enabled: true
- name: web-search
type: mcp
server: search-mcp
enabled: true
MCP Server Integration
// .parac/mcp-servers.json
{
\"mcpServers\": {
\"filesystem\": {
\"command\": \"npx\",
\"args\": [\"-y\", \"@modelcontextprotocol/server-filesystem\", \"/workspace\"]
},
\"github\": {
\"command\": \"mcp-server-github\",
\"env\": {
\"GITHUB_TOKEN\": \"${GITHUB_TOKEN}\"
}
}
}
}
Best Practices
- Clear tool descriptions - Help agents understand when to use
- Validate inputs - Use Pydantic for type safety
- Handle errors gracefully - Return clear error messages
- Test thoroughly - Unit test each tool
- Document usage - Provide examples
Resources
- Built-in Tools:
packages/paracle_tools/builtin/ - MCP Integration:
packages/paracle_mcp/ - Tool Examples:
content/examples/*_tools.py
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon
