You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Python library for using mcp.run tools with pydantic-ai
Example
agent=Agent("claude-3-5-sonnet-latest", result_type=int)
results=agent.run_sync(
"find the largest prime under 1000 that ends with the digit '3'"
)
print(results.data)