pb_records_list
Efficiently retrieve and manage records from a collection on the PocketBase MCP Server with options for filtering, sorting, pagination, and field selection.
Instructions
List records from a collection with optional filtering and pagination
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": "pb_records_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name or ID | |
| expand | No | Relations to expand (e.g., "author,category") | |
| fields | No | Fields to return (e.g., "id,title,created") | |
| filter | No | Filter criteria (e.g., "status = true") | |
| page | No | Page number | |
| perPage | No | Items per page | |
| sort | No | Sort criteria (e.g., "created", "-updated", "title") |