migratorxpress_execute_command
Run a pre-built MigratorXpress command after previewing it, with a mandatory confirmation to prevent unintended execution.
Instructions
Execute a MigratorXpress command that was previously built by migratorxpress_preview_command. Requires confirmation=true as a safety gate. The command string must come from a prior migratorxpress_preview_command call. Will fail if the MigratorXpress binary is not installed.
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": {
"command": "<command>",
"confirmation": "<confirmation>"
},
"name": "migratorxpress_execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The full MigratorXpress command string copied from the migratorxpress_preview_command output (space-separated arguments). | |
| confirmation | Yes | Safety gate: must be set to true to allow execution. Confirms the user has reviewed the previewed command. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | 'ok' when the call succeeded; 'error' when the parameters failed validation or execution failed. | |
| stderr | No | ||
| stdout | No | ||
| log_dir | No | ||
| success | No | True when the command exited 0. | |
| diagnostics | No | Parsed hints when the command failed. | |
| return_code | No | Process exit code. |