Create cache
laravel_cloud_create_cacheCreate a new cache in Laravel Cloud by specifying type, name, region, size, and access settings.
Instructions
Create a new cache.
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": {
"type": "<type>",
"name": "<name>",
"region": "<region>",
"size": "<size>",
"auto_upgrade_enabled": "<auto_upgrade_enabled>",
"is_public": "<is_public>"
},
"name": "laravel_cloud_create_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Cache name. | |
| size | Yes | Cache size. | |
| type | Yes | Cache type. | |
| region | Yes | Cloud region. Use laravel_cloud_list_regions to discover valid values. | |
| is_public | Yes | Whether the cache is publicly accessible. | |
| eviction_policy | No | Key eviction policy. | |
| auto_upgrade_enabled | Yes | Automatically upgrade the cache when needed. |