kaiten_get_tree
Build a recursive tree of spaces, documents, and document groups from Kaiten, starting from a specified root and limiting depth as needed.
Instructions
Build a nested entity tree from the Kaiten sidebar. Returns spaces, documents, and document groups as a recursive tree with 'children' arrays. Use root_uid to start from a specific entity. Use depth to limit recursion.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kaiten_get_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max recursion depth (0 = unlimited). Default: 0. | |
| root_uid | No | Start tree from this entity UID. Omit for full tree from roots. |