update_application_pool
Update an existing application pool's configuration via Horizon REST API. If auto-update of file types is enabled, omit file_types because Horizon manages that list.
Instructions
Update an existing application pool's configuration.
Horizon returns supported_file_types_data with both its auto-discovered file_types and enable_auto_update_file_types=true, then rejects that combination on update ("file_types cannot be set when enable_auto_update_file_types is enabled", verified on 2606). So when auto-update is on, file_types is dropped here: Horizon manages that list itself.
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": {
"pool_id": "<pool_id>",
"spec": "<spec>"
},
"name": "update_application_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Updated application pool specification. Retrieve the current config with get_application_pool, modify the relevant fields, and pass the result here. | |
| pool_id | Yes | Application pool ID — obtain from list_application_pools |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||