create_record
Add a new record to a PocketBase collection by specifying the collection name or ID and providing the required data in key-value pairs.
Instructions
Create a new record in a PocketBase collection.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | The name or ID of the PocketBase collection. | |
data | Yes | The data for the new record (key-value pairs). |
Input Schema (JSON Schema)
{
"properties": {
"collection": {
"description": "The name or ID of the PocketBase collection.",
"type": "string"
},
"data": {
"additionalProperties": true,
"description": "The data for the new record (key-value pairs).",
"type": "object"
}
},
"required": [
"collection",
"data"
],
"type": "object"
}