Spreadsheet - WebMcpTool

30 Sep 20261 minute to read

Defines the structure of a WebMCP tool, including its name, description,
and input/output JSON schema definitions used for tool registration and execution.

Properties

annotations object

A readOnlyHint flag indicating whether the tool performs read-only operations without modifying state.

description string

A description of the tool’s functionality and purpose.

execute Function

A function that executes the tool’s logic when invoked.

inputSchema object

The JSON schema object that defines the expected input parameters for the tool.

name string

The unique identifier name of the WebMCP tool (e.g., ‘editCell’, ‘getCellData’).

outputSchema object

The JSON schema object that defines the structure of the tool’s output response.