Exécuter une Migration PocketBase (tout type)
pocketbase-execute-any-migrationExecutes a PocketBase migration file to create, modify, or delete collections and fields through the REST API, applying schema changes on demand.
Instructions
Exécute une migration PocketBase de création, modification ou suppression via API REST
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-any-migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| migrationFile | Yes | Nom du fichier de migration à exécuter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| success | Yes | ||
| migrationType | Yes | ||
| collectionName | No |