vllm.entrypoints.mcp.tool_server Âķ
Classes:
-
ToolServerâ
ToolServer Âķ
Bases: ABC
Methods:
-
get_tool_descriptionâReturn the tool description for the given tool name.
-
has_toolâReturn True if the tool is supported, False otherwise.
-
new_sessionâCreate a session for the tool.
Source code in vllm/entrypoints/mcp/tool_server.py
get_tool_description(tool_name, allowed_tools=None) abstractmethod Âķ
Return the tool description for the given tool name. If the tool is not supported, return None.