get_collection_structure
Retrieves the hierarchical structure of a collection, showing document organization, IDs, and parent-child relationships.
Instructions
Retrieves the hierarchical document structure of a collection.
Use this tool when you need to:
Understand how documents are organized in a collection
Find document IDs within a specific collection
See the parent-child relationships between documents
Get an overview of a collection's content structure
Args: collection_id: The collection ID to examine
Returns: Formatted string showing the hierarchical structure of documents
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": "get_collection_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |