pb_records_update
Update specific records in PocketBase collections by specifying the collection, record ID, and new data, ensuring efficient and precise record management.
Instructions
Update an existing record in 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>",
"data": "<data>"
},
"name": "pb_records_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name or ID | |
| data | Yes | Record data to update | |
| expand | No | Relations to expand in response | |
| fields | No | Fields to return in response | |
| id | Yes | Record ID to update |