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
Copy file name to clipboardExpand all lines: docs/builtin-tools.md
+17-24Lines changed: 17 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -425,9 +425,8 @@ _(This example is complete, it can be run "as is")_
425
425
The [`MCPServerTool`][pydantic_ai.builtin_tools.MCPServerTool] allows your agent to pass MCP configurations in context,
426
426
so that the agent can offload MCP calls and parsing to the provider.
427
427
428
-
This tool is useful for models that support passing MCP servers as tools in parameters, so the model handles calls to remote servers by itself.
429
-
430
-
However, a vast majority of models do not support this feature, in which case can use Pydantic AI's agent-side [MCP support](mcp/client.md).
428
+
This requires the MCP server to live at a public URL the provider can reach and does not support many of the advanced features of Pydantic AI's agent-side [MCP support](mcp/client.md),
429
+
but can result in optimized context use and caching, and faster performance due to the lack of a round-trip back to Pydantic AI.
0 commit comments