vllm.entrypoints.mcp.tool_server ¶
ToolServer ¶
Bases: ABC
Source code in vllm/entrypoints/mcp/tool_server.py
get_tool_description abstractmethod ¶
get_tool_description(
tool_name: str, allowed_tools: list[str] | None = None
) -> ToolNamespaceConfig | None
Return the tool description for the given tool name. If the tool is not supported, return None.