MCPToolInfo
Description of an MCP tool discovered from a remote server.
Usage
MCPToolInfo(
name,
description,
input_schema,
server_url="",
)Parameters
name: str-
The tool name as advertised by the MCP server.
description: str-
Human-readable description of what the tool does.
input_schema: dict[str, Any]-
JSON Schema dict describing the tool’s parameters.
server_url: str = ""- The URL or transport identifier of the MCP server.
Examples
import talk_box as tb
info = tb.MCPToolInfo(
name="search",
description="Search the web",
input_schema={"type": "object", "properties": {"query": {"type": "string"}}},
server_url="http://localhost:8000/mcp",
)
info.name # "search"