ecp_apps_deploy_step
Run one deploy lifecycle action for an app: manage processes (start, stop, restart, remove), trigger background install/build commands, or set the asdf runtime version.
Instructions
Run one step of an app's deploy lifecycle. action='start'|'stop'|'restart'|'remove' manage the app's supervisor process and return a real result. action='install'|'build' run a command in the background via app_root_directory (install_command/build_command) but this tool CANNOT show you their output - check ecp_apps_tail_logs or the app's own state afterward. action='configure' pins an asdf runtime version (stack_version) for the app and also returns no output.
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": {
"action": "<action>",
"app_name": "<app_name>",
"app_root_directory": "<app_root_directory>"
},
"name": "ecp_apps_deploy_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| app_id | No | ||
| app_name | Yes | ||
| deploy_type | No | ||
| build_command | No | ||
| env_file_path | No | ||
| stack_version | No | ||
| start_command | No | ||
| install_command | No | ||
| app_root_directory | Yes |