Create instance
laravel_cloud_create_instanceCreate a new service or managed queue instance for a Laravel Cloud environment, with configurable size, scaling, and background processes.
Instructions
Create a new instance (service or managed queue) for an 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>",
"name": "<name>",
"type": "<type>",
"size": "<size>",
"scaling_type": "<scaling_type>",
"min_replicas": "<min_replicas>",
"visibility_timeout": "<visibility_timeout>",
"polling_interval": "<polling_interval>",
"shutdown_timeout": "<shutdown_timeout>"
},
"name": "laravel_cloud_create_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Instance name. | |
| size | Yes | Instance size. Use laravel_cloud_list_instance_sizes to discover values. | |
| type | Yes | Instance type. | |
| environment | Yes | Environment ID. | |
| max_replicas | No | Maximum replicas (custom scaling). | |
| min_replicas | Yes | Minimum replicas (custom scaling). | |
| scaling_type | Yes | Scaling strategy. | |
| sleep_with_app | No | Scale worker replicas to zero alongside the app. | |
| uses_scheduler | No | Run the Laravel scheduler on this instance. | |
| polling_interval | Yes | Managed queue polling interval in seconds. | |
| shutdown_timeout | Yes | Shutdown timeout in seconds. | |
| visibility_timeout | Yes | Managed queue visibility timeout in seconds. | |
| background_processes | No | Background processes to run on this instance. | |
| scaling_cpu_threshold_percentage | No | CPU threshold for auto-scaling. | |
| scaling_memory_threshold_percentage | No | Memory threshold for auto-scaling. |