TRUECALC
MCP

structure:insertRow

Inserts the row.

Parameters

NameTypeRequiredDescription
sheetstringyes
beforeRowintegeryes
countintegernoDefaults to 1.

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",
  "description": "`beforeRow`/`count`, matching studio's `insert-row` schema.",
  "type": "object",
  "properties": {
    "sheet": {
      "type": "string"
    },
    "beforeRow": {
      "type": "integer",
      "format": "uint32",
      "minimum": 0
    },
    "count": {
      "type": "integer",
      "format": "uint32",
      "minimum": 0,
      "default": 1
    }
  },
  "required": [
    "sheet",
    "beforeRow"
  ]
}

On this page