set_app_resources
Configure CPU and memory limits and reservations for an app service to manage resource allocation and avoid contention.
Instructions
Set CPU/memory limits for an app
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": {
"projectName": "<projectName>",
"serviceName": "<serviceName>"
},
"name": "set_app_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpuLimit | No | CPU limit (1 = 1 core) | |
| memoryLimit | No | Memory limit MB | |
| projectName | Yes | Project name | |
| serviceName | Yes | Service name | |
| cpuReservation | No | CPU reservation | |
| memoryReservation | No | Memory reservation MB |