pb_records_get
Retrieve a specific record by ID from a collection in PocketBase MCP Server. Specify collection, ID, fields, and relations to expand for targeted data retrieval.
Instructions
Get a specific record by ID from a collection
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>",
"id": "<id>"
},
"name": "pb_records_get"
}
}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") | |
| id | Yes | Record ID |