McpToolOption
Interface
Describes a single tool to register via WebMcpProvider.
Definition
Package:@progress/kendo-react-grid
Properties
commandType
string
Internal command identifier used by the component's execution router.
description
string
Human-readable description shown to AI agents.
enabled
boolean
Whether this tool should be registered (typically derived from component props).
Optional custom execute function. When provided, bypasses the adapter's built-in command router.
Parameters:argsRecord<string, unknown>Returns:
Promise<{ content: { type: string; text: string }[]; isError?: boolean }> | { content: { type: string; text: string }[]; isError?: boolean }
inputSchema?
Record<string, unknown>
Optional JSON Schema for the tool's input parameters.
name
string
Short identifier used as suffix in the tool name.