pb_update_record
Update an existing record in a PocketBase collection by specifying the collection, record ID, and new field values.
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": {
"collectionIdOrName": "<collectionIdOrName>",
"recordId": "<recordId>",
"data": "<data>"
},
"name": "pb_update_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Key-value pairs representing the fields to update | |
| recordId | Yes | The ID of the record to update | |
| collectionIdOrName | Yes | The name or ID of the collection |