Run command
laravel_cloud_run_commandRun Artisan or shell commands on a Laravel Cloud environment to automate deployments, run migrations, or debug issues.
Instructions
Run an Artisan or shell command on the given environment.
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": {
"environment": "<environment>",
"command": "<command>"
},
"name": "laravel_cloud_run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to run, e.g. 'php artisan migrate --force'. | |
| environment | Yes | Environment ID. |