Move a diagram
move_diagramMove one of the user's diagrams into a folder, or to the Drive root (folderId = null). Requires a YAMLTools API key.
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": {
"id": "<id>",
"folderId": "<folderId>"
},
"name": "move_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Diagram id to move | |
| folderId | Yes | Destination folder id, or null for the Drive root |