fetch_collection_data
Fetch documents from a specified MongoDB collection, using an optional limit to control how many records are returned.
Instructions
Fetch documents from a collection.
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_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| collection_name | Yes |