Ajouter un Champ à une Collection
pocketbase-add-field-migrationGenerates a migration that adds a single field to an existing PocketBase collection, letting you define the field's name, type, and constraints before applying it.
Instructions
Génère une migration pour ajouter un seul champ à une collection existante
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": {
"collectionName": "<collectionName>",
"field": "<field>"
},
"name": "pocketbase-add-field-migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Champ à ajouter | |
| collectionName | Yes | Nom de la collection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| success | Yes | ||
| filePath | Yes | ||
| fieldName | Yes | ||
| collectionName | Yes |