Update a Playground text node
playground_canvas_update_textReplace the editable text content of an existing text node. Requires project edit access, the node ID and the current expectedRevision from canvas_read. Reuse idempotencyKey only for an identical retry. On revision_conflict, read the canvas and rebuild the change. Returns the node ID, updated canvas revision and replay status.
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": {
"projectId": "<projectId>",
"nodeId": "<nodeId>",
"text": "<text>",
"expectedRevision": "<expectedRevision>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "playground_canvas_update_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Editable text to save in the selected text node or workflow input. | |
| nodeId | Yes | Existing canvas node ID returned by canvas_read, node search or creation. | |
| projectId | Yes | ID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context. | |
| idempotencyKey | Yes | Unique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs. | |
| expectedRevision | Yes | Current canvas revision from canvas_read; on revision_conflict, read again and rebuild the change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| replayed | Yes | ||
| revision | Yes |