figma_cancel
Cancel a queued Figma write before it starts, returning OP_CANCELLED and leaving the document revision unchanged. Running operations cannot be interrupted; the refusal reports OP_RUNNING or OP_DONE.
Instructions
Stop a Figma operation that has NOT started (state queued in figma_ops) — the write a caller abandoned while it waited behind another write. Its caller is answered immediately with OP_CANCELLED and the document revision does not move, because nothing of it ran. A running call cannot be interrupted (Figma runs plugin code to completion): the refusal says which of OP_RUNNING / OP_DONE / OP_UNKNOWN it is, and OP_DONE names the revision the call actually reached. Read-only: cancelling only ever prevents a write.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"opId": "<opId>"
},
"name": "figma_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opId | Yes | Operation to stop, as figma_ops lists it or as a timeout error named it | |
| fileKey | No | Which connected Figma file to use: its fileKey (figma_whoami) or, when omitted, the only connected file. Required once more than one file is connected; figma_ping lists them. |