v1

latestOpenAPI 3.0.02026-07-14184214216.1 KB
ai

Model Context Protocol endpoint

Implements the Model Context Protocol (MCP) over HTTP, allowing an LLM to query Sheet Assistant as an MCP Tool. To use, send stdin from the LLM as the body of a POST to this endpoint, and send the response back over stdout Example body: {"method":"tools/list","params":{"protocolVersion":"2024-11-05","capabilities":{}},"jsonrpc":"2.0","id":0}.

post/mcp

Request body

metaobject

Meta optionally provides metadata to include in the request.

NOTE: It is not part of spec. However, it is useful for propagating tracing context, etc.

methodstring
paramsobject

Response

OK

{"stackTrail":"paths:/mcp:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}