faint-gold-41196
05/09/2025, 5:25 AMtall-airline-16756
05/09/2025, 5:25 AMtall-airline-16756
05/09/2025, 5:26 AMfunction_tool
function to load tools from an external MCP server.
2. Register these tools with the agent using either the tools
property or the update_tools()
method.
For a complete implementation example, you can refer to the basic-mcp repository, which demonstrates a voice AI agent that can load dynamic tools from one or more Model Context Protocol servers.
Additionally, you can explore another example that shows how to define and use an MCP server within your agent implementation: Python Agents Examples.
Sources: LiveKit Docs | Using MCP with LiveKit Agents | Tool definition and use | LiveKit Docs