Create environment
laravel_cloud_create_environmentCreate a new deployment environment for a Laravel Cloud application using an application ID, environment name, and Git branch.
Instructions
Create a new environment for an application.
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": {
"application": "<application>",
"name": "<name>",
"branch": "<branch>"
},
"name": "laravel_cloud_create_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Environment name. | |
| branch | Yes | Git branch to deploy. | |
| cluster_id | No | Dedicated cluster ID to deploy to. Only set if your organization has one. | |
| application | Yes | Application ID. |