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
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 |
Input Schema (JSON Schema)
{
"properties": {
"collection": {
"description": "Collection name or ID",
"type": "string"
},
"expand": {
"description": "Relations to expand (e.g., \"author,category\")",
"type": "string"
},
"fields": {
"description": "Fields to return (e.g., \"id,title,created\")",
"type": "string"
},
"id": {
"description": "Record ID",
"type": "string"
}
},
"required": [
"collection",
"id"
],
"type": "object"
}