Rename or move a folder
update_folderRename or move a folder by updating its name or parent folder ID.
Instructions
Rename or move a folder.
Required API key scope: accounts:write.
PATCH /folders/{id}
Requires accounts:write regardless of the folder's type.
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>",
"body": "<body>"
},
"name": "update_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Path parameter `id`. | |
| body | Yes | JSON request body. |