TRUECALC
MCP

sheet:reorder

Reorders a sheet.

Parameters

NameTypeRequiredDescription
sheetstringyesThe sheet to move. This is the sheet's NAME.
direction"left", "right"yesWhich way to move it, one tab position, never an absolute position.

Returns

Nothing beyond the standard MCP success envelope.

Schema

Request payload, as JSON Schema:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Payload",
  "type": "object",
  "properties": {
    "sheet": {
      "description": "The sheet to move. This is the sheet's NAME.",
      "type": "string"
    },
    "direction": {
      "description": "Which way to move it, one tab position, never an absolute position.",
      "$ref": "#/$defs/Direction"
    }
  },
  "required": [
    "sheet",
    "direction"
  ],
  "$defs": {
    "Direction": {
      "description": "Which way to move the sheet.",
      "type": "string",
      "enum": [
        "left",
        "right"
      ]
    }
  }
}

On this page