query_collection
Query PocketBase collections using filters, sorting, and aggregation to retrieve specific data records based on defined criteria.
Instructions
Advanced query with filtering, sorting, and aggregation
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": "<collection>"
},
"name": "query_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aggregate | No | Aggregation settings | |
| collection | Yes | Collection name | |
| expand | No | Relations to expand | |
| filter | No | Filter expression | |
| sort | No | Sort expression |