Exécuter une Migration PocketBase
pocketbase-execute-migrationExecutes a named migration file through the PocketBase REST API to apply schema changes and update collections or fields.
Instructions
Applique une migration via l'API REST de PocketBase
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": {
"migrationFile": "<migrationFile>"
},
"name": "pocketbase-execute-migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| migrationFile | Yes | Nom du fichier de migration à exécuter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| collectionName | No |