Get API schema catalog
sm_get_schemaGet the Enterprise API's OpenAPI-derived schema catalog. Omitting operation returns a compact index of every Enterprise API operation; passing a tool name, full path, or path suffix returns that one operation's full parameters and resolved response schemas. Use before calling an unfamiliar tool to confirm its exact fields.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sm_get_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | Optional selector for one Enterprise API operation. Omit this parameter to receive a compact index of every Enterprise API operation. Pass a tool name (e.g. sm_list_leaders), a full path (e.g. /_api/public/v1/enterprise/members/detail), or a path suffix (e.g. members/detail) to receive that operation's full parameters and resolved response schemas. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | A machine-readable identifier for the error type. For the full code taxonomy, see the sm_get_schema tool or the Enterprise API OpenAPI ErrorResponse component. | |
| path | No | URL path for the operation. | |
| error | No | A human-readable error message detailing what went wrong. | |
| method | No | HTTP method for the operation. | |
| toolName | No | MCP tool wrapping the operation, or null when none. | |
| operation | No | Full OpenAPI operation object. | |
| schemaUrl | No | URL of the live OpenAPI document. | |
| components | No | OpenAPI components object referenced by operations. | |
| operations | No | Catalog entries for each Enterprise API operation. | |
| operationCount | No | Number of operations catalogued. |