Change Site PHP Allocation
kinsta_environments_php-allocation-siteUpdate PHP worker thread count and memory allocation for all environments in a Kinsta site. Specify site ID, thread count, and memory per thread to adjust performance.
Instructions
Change PHP worker allocation for all environments in a site. Returns an operation_id.
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": {
"site_id": "<site_id>",
"thread_count": "<thread_count>",
"thread_memory": "<thread_memory>"
},
"name": "kinsta_environments_php-allocation-site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site ID | |
| thread_count | Yes | Number of PHP worker threads | |
| thread_memory | Yes | Memory per PHP worker thread in MB |