create_migration_preview
Builds a preview deployment of your migrated app on Staticbot's infrastructure so you can verify it works before switching the backend. Choose light or full mode.
Instructions
Trigger (or retrieve) a preview deployment for a migration. The preview builds the migrated app on Staticbot's infrastructure so the customer can verify it works before finalising backend switchover. Optional mode: 'light' (fast, single SOFTWARE job) or 'full'.
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": {
"migrationId": "<migrationId>"
},
"name": "create_migration_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Preview mode (default: light) | |
| migrationId | Yes | Migration ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Parsed JSON response from the Staticbot public API |