pb_create_record
Create a new record in a PocketBase collection by providing the collection identifier and the record data as key-value pairs.
Instructions
Create a new 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>",
"data": "<data>"
},
"name": "pb_create_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Key-value pairs representing the record fields | |
| collectionIdOrName | Yes | The name or ID of the collection |