Code
cookbook/11_models/anthropic/tool_use.py
from agno.agent import Agent
from agno.models.anthropic import Claude
from agno.tools.hackernews import HackerNewsTools
agent = Agent(
model=Claude(id="claude-sonnet-4-6"),
tools=[HackerNewsTools()],
markdown=True,
)
agent.print_response("Whats happening in France?")
Was this page helpful?