Content Tree Tool
evo.content.treeList visible documents under a CMS page or site root, ordered by parent, menu index and ID, with depth and menu index range filters to map content trees.
Instructions
List visible documents below a document or the site root, ordered by parent, menuindex and id. Use depth 1 for direct children and menuindex ranges. Use evo.content.ancestors to walk up or evo.content.siblings for documents under the same parent.
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>",
"limit": "<limit>"
},
"name": "evo.content.tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document ID, or 0 for the virtual site root. | |
| depth | No | Levels below the anchor, up to the configured maximum. At 0, depth 1 returns top-level documents. | |
| limit | Yes | Maximum items to return, up to the configured server limit. | |
| offset | No | Number of matching records to skip after sorting. | |
| with_tvs | No | TV names to return under tvs. Append :d to a name to fall back to its default value. | |
| menuindex_to | No | Inclusive upper menuindex bound, only at depth 1. | |
| menuindex_from | No | Inclusive lower menuindex bound, only at depth 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| items | Yes | Returned records in the order defined by the tool. Empty when there are no matches. |