fetch_collection_schema
Inspect a MongoDB collection's inferred schema from a sample document to understand its field structure.
Instructions
Returns inferred schema from a sample document.
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_name": "<collection_name>"
},
"name": "fetch_collection_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_name | Yes |