vllm.entrypoints.mcp.tool_server ¶
Classes:
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.