Rename or reposition a Playground node
playground_canvas_update_node_layoutUpdate only the common title and/or canvas position of any user-facing Playground node. This is non-paid, revision-checked, idempotent, and returns the previous values for a follow-up undo command. Node-specific content is not changed.
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>",
"expectedRevision": "<expectedRevision>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "playground_canvas_update_node_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Human-readable label to display for this item in Playground. | |
| nodeId | Yes | Existing canvas node ID returned by canvas_read, node search or creation. | |
| position | No | ||
| 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 | ||
| previous | Yes | ||
| replayed | Yes | ||
| revision | Yes | ||
| updatedFields | Yes |