execute_command_application
Execute shell commands within running application containers for debugging, maintenance, or running one-off tasks in Coolify deployments.
Instructions
Execute a command inside a running application container. Useful for debugging, maintenance, or running one-off tasks. Note: This endpoint may not be available in all Coolify versions.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The command to execute inside the container. This can be any valid shell command. | |
uuid | Yes | UUID of the application where the command will be executed. Get this from list_applications. |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "The command to execute inside the container. This can be any valid shell command.",
"examples": [
"npm run migrations",
"python manage.py collectstatic",
"ls -la",
"cat /var/log/app.log"
],
"type": "string"
},
"uuid": {
"description": "UUID of the application where the command will be executed. Get this from list_applications.",
"pattern": "^[a-zA-Z0-9]+$",
"type": "string"
}
},
"required": [
"uuid",
"command"
],
"type": "object"
}