TRUECALC
MCP

clipboard:paste

Pastes previously copied or cut cells into a range.

Parameters

NameTypeRequiredDescription
sheetstringyes
sourcestringyesThe cell the clipboard content was copied/cut FROM, e.g. "A1".
rawstringyesThe clipboard contents AT COPY/CUT TIME, a literal, a formula, leading =, or "".
targetstringyesThe cell being pasted INTO, e.g. "B2".
cutbooleannofalse = copy, the default, true = cut, move.

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": {
      "type": "string"
    },
    "source": {
      "description": "The cell the clipboard content was copied/cut FROM, e.g. `\"A1\"`.",
      "type": "string"
    },
    "raw": {
      "description": "The clipboard contents AT COPY/CUT TIME, a literal, a formula, leading `=`, or `\"\"`.",
      "type": "string"
    },
    "target": {
      "description": "The cell being pasted INTO, e.g. `\"B2\"`.",
      "type": "string"
    },
    "cut": {
      "description": "`false` = copy, the default, `true` = cut, move.",
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "sheet",
    "source",
    "raw",
    "target"
  ]
}

On this page