describe_collection
Inspect MongoDB indexes and document fields to understand schema-less data. Provide database and collection names to reveal collection structure before querying.
Instructions
Inspect MongoDB indexes; MongoDB documents need not share a schema.
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": {
"database": "<database>",
"collection": "<collection>"
},
"name": "describe_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | ||
| collection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||