mongo_find_one
Retrieves one matching document from a MongoDB collection in a read-only profile, with optional query, projection, and sort controls for targeted data inspection.
Instructions
Read one matching document from a profile.
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": {
"profile": "<profile>",
"collection": "<collection>"
},
"name": "mongo_find_one"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| query | No | ||
| profile | Yes | ||
| collection | Yes | ||
| projection | No |