get-folder-by-id
Retrieve a folder's exact name, parent ID, account ID, and root status by ID to verify details before a guarded rename or delete.
Instructions
Use when: reading the exact folder name, parent, and account before a guarded rename or delete-folder-by-id. Returns: folder id, current name, parent id, accountId, and isRoot (true when the folder sits at the account root; pass expectedRoot: true to delete-folder-by-id then, otherwise parentId as expectedParentId). Do not use when: listing folders by path (list-folders). Safety: read-only.
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>"
},
"name": "get-folder-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No |