Chart Component - WebMcpTool

30 Sep 20261 minute to read

Defines a WebMCP tool schema and optional execution callback.

Properties

annotations object

WebMCP tool annotations.

description string

Natural-language tool description.

execute Function

Tool execution callback assigned during registration.

inputSchema object

JSON Schema for tool input.

name string

Unique WebMCP tool name.

outputSchema object

JSON Schema for tool output.