Skip to content

Accept provider tools (Tool) in Agent alongside AgentTool#148

Merged
msullivan merged 1 commit into
mainfrom
builtin-tools
May 22, 2026
Merged

Accept provider tools (Tool) in Agent alongside AgentTool#148
msullivan merged 1 commit into
mainfrom
builtin-tools

Conversation

@msullivan
Copy link
Copy Markdown
Contributor

@msullivan msullivan commented May 21, 2026

Agent.init and agent() now accept Sequence[AgentTool | Tool].
Raw Tool objects (e.g. provider-executed web_search) are separated
into _provider_tools and merged into the Context.tools list
alongside the agent's callable tools when streaming.

Co-authored-by: anthropic/claude-opus-4.6, via tau

Agent.__init__ and agent() now accept Sequence[AgentTool | Tool].
Raw Tool objects (e.g. provider-executed web_search) are separated
into _provider_tools and merged into the Context.tools list
alongside the agent's callable tools when streaming.

Co-authored-by: gateway:anthropic/claude-opus-4.6, via tau
@msullivan msullivan requested review from anbuzin and elprans May 21, 2026 01:56
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-python Ready Ready Preview, Comment May 21, 2026 1:57am

@msullivan msullivan merged commit 278b2bd into main May 22, 2026
7 checks passed
@msullivan msullivan deleted the builtin-tools branch May 22, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants