Get Folder
get_folderRetrieve metadata for a folder by its ID. Set all_children to include the full descendant tree, or leave it false to avoid large responses.
Instructions
Return folder metadata for the given folder ID.
Parameters
id:
Identifier of the folder to fetch.
all_children:
When True include childFolders with the full descendant
tree, which can be large. To page through direct children only, use
folder_management("list", params={"filter.parentFolderId": id}).
Returns
dict
Folder metadata including children or an error message.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| all_children | No |