execute_mongo_find
Execute a validated MongoDB find query under row, byte, timeout, and concurrency limits for safe, controlled data exploration.
Instructions
Execute one validated find() under row, byte, timeout and concurrency limits.
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": {
"connection_id": "<connection_id>",
"collection": "<collection>",
"filter": "<filter>"
},
"name": "execute_mongo_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | ||
| max_rows | No | ||
| collection | Yes | ||
| projection | No | ||
| connection_id | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| executed | Yes | ||
| documents | No | ||
| operation | Yes | Operation family exposed through MCP and audit. | |
| row_limit | No | ||
| truncated | No | ||
| collection | Yes | ||
| error_code | No | ||
| validation | Yes | Complete result of applying the document read-only operator policy. | |
| duration_ms | No | ||
| connection_id | Yes | ||
| document_count | No | ||
| contract_version | No | 1.0.0 | |
| serialized_bytes | No |