Get record
get_recordRetrieve a PocketBase record by ID, optionally expanding relations and selecting specific fields.
Instructions
Fetch a single record by id, optionally expanding relations and selecting specific fields.
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": "get_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record id. | |
| expand | No | Comma-separated relations to expand. | |
| fields | No | Comma-separated fields to return. | |
| collection | Yes | Collection id or name. |