Tidy Playground nodes or a group
playground_canvas_arrangeArrange loose nodes as a block, or re-lay out a group’s children, as one revision-checked, idempotent, non-paid revision (the tidy operation of playground_canvas_apply_operations). Give nodeIds or groupId.
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>",
"expectedRevision": "<expectedRevision>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "playground_canvas_arrange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | No | Existing canvas group ID to arrange. | |
| nodeIds | No | IDs of the existing canvas nodes to use for this action. | |
| 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 |
|---|---|---|---|
| created | Yes | ||
| summary | Yes | Human-readable summary of the applied canvas operations. | |
| replayed | Yes | ||
| revision | Yes |