File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -290,13 +290,6 @@ async def get_prompt(
290
290
"""Get the prompt for the agent."""
291
291
return await PromptUtil .to_model_input (self .prompt , run_context , self )
292
292
293
- async def get_mcp_tools (self , run_context : RunContextWrapper [TContext ]) -> list [Tool ]:
294
- """Fetches the available tools from the MCP servers."""
295
- convert_schemas_to_strict = self .mcp_config .get ("convert_schemas_to_strict" , False )
296
- return await MCPUtil .get_all_function_tools (
297
- self .mcp_servers , convert_schemas_to_strict , run_context , self
298
- )
299
-
300
293
async def get_all_tools (self , run_context : RunContextWrapper [Any ]) -> list [Tool ]:
301
294
"""All agent tools, including MCP tools and function tools."""
302
295
mcp_tools = await self .get_mcp_tools (run_context )
You can’t perform that action at this time.
0 commit comments