list_records
Retrieve records from a PocketBase collection using filters, sorting, and pagination to query and manage database data.
Instructions
List records from a collection with optional filters
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": "list_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name | |
| filter | No | Filter query | |
| sort | No | Sort field and direction | |
| page | No | Page number | |
| perPage | No | Items per page |