hybrid_query
Run SQL and MongoDB reads concurrently, then join and aggregate results on the server using named sources and equijoins.
Instructions
Run SQL/MongoDB reads concurrently, join and aggregate on the server.
Supply named sources and inner/left equijoins using source.field keys. Optional group_by and count/sum/avg/min/max metrics operate on the full join. Truncated inputs fail rather than producing misleading totals. No writes, natural-language planning, or cross-database snapshot guarantee.
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": {
"plan": "<plan>"
},
"name": "hybrid_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||