kb2_tree
Fetch the hierarchical document tree from Bitrix24 Knowledge Base 2.0, preserving parent-child IDs. Handles truncated trees to ensure complete structure.
Instructions
Дерево документов базы знаний 2.0 с сохранением parentId/children. Поле truncated=true означает, что Bitrix24 обрезал дерево. Требует scope 'note'.
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": {
"collection_id": "<collection_id>"
},
"name": "kb2_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | ID базы знаний из kb2_list |