lakexpress_execute_command
Execute a LakeXpress command after preview with user confirmation for safe database operations.
Instructions
Execute a LakeXpress command that was previously built by lakexpress_preview_command. Requires confirmation=true as a safety gate. The command string must come from a prior lakexpress_preview_command call. Will fail if the LakeXpress 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": "lakexpress_execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The exact command string from a prior lakexpress_preview_command call. Must be passed as-is without modification. | |
| confirmation | Yes | Safety gate: must be true to execute. Set to true only after 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. |