List trees
list_treesList the organisation and source (repository, database) Page trees in this context.
Returns the exact selectors get_tree, search, and read accept, with each tree's id, root Page, origin, sync status, and processed and detected revisions — so this also answers whether a source tree is up to date. Check the processed revision before relying on one. A source tree (repository docs or a database schema map) is generated from the code that actually ships: accurate but concise, so absence from it proves nothing. Call this before passing tree or trees for anything other than the main organisation tree.
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": "list_trees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_id | No | The context to use, from list_contexts. Optional when you belong to one context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |