MCPcopy Create free account
hub / github.com/IBM/mcp-cli / ToolMeta

Class ToolMeta

src/mcp_cli/tools/models.py:104–113  ·  view source on GitHub ↗

Tool _meta field from MCP spec. Contains optional metadata about the tool including UI information for MCP Apps support.

Source from the content-addressed store, hash-verified

102
103
104class ToolMeta(BaseModel):
105 """Tool _meta field from MCP spec.
106
107 Contains optional metadata about the tool including UI information
108 for MCP Apps support.
109 """
110
111 ui: ToolUIMeta | None = None
112
113 model_config = {"frozen": False, "extra": "allow"}
114
115
116# ──────────────────────────────────────────────────────────────────────────────

Callers 6

test_emptyMethod · 0.90
test_with_uiMethod · 0.90
test_has_app_ui_trueMethod · 0.90

Calls

no outgoing calls

Tested by 6

test_emptyMethod · 0.72
test_with_uiMethod · 0.72
test_has_app_ui_trueMethod · 0.72