PocketBase MCP Server

by mabeldata
Verified

list_records

Retrieve records from a PocketBase collection with customizable filters, sorting, pagination, and expansion for precise data access.

Instructions

List records from a PocketBase collection. Supports filtering, sorting, pagination, and expansion.

Input Schema

NameRequiredDescriptionDefault
collectionYesThe name or ID of the PocketBase collection.
expandNoPocketBase expand string (e.g., "user,tags.name").
filterNoPocketBase filter string (e.g., "status='active'").
pageNoPage number (defaults to 1).
perPageNoItems per page (defaults to 30, max 500).
sortNoPocketBase sort string (e.g., "-created,name").

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "The name or ID of the PocketBase collection.", "type": "string" }, "expand": { "description": "PocketBase expand string (e.g., \"user,tags.name\").", "type": "string" }, "filter": { "description": "PocketBase filter string (e.g., \"status='active'\").", "type": "string" }, "page": { "description": "Page number (defaults to 1).", "minimum": 1, "type": "number" }, "perPage": { "description": "Items per page (defaults to 30, max 500).", "maximum": 500, "minimum": 1, "type": "number" }, "sort": { "description": "PocketBase sort string (e.g., \"-created,name\").", "type": "string" } }, "required": [ "collection" ], "type": "object" }

You must be authenticated.

Other Tools from PocketBase MCP Server

Related Tools

ID: llc3xla20m