update_openresty_by_file
Updates OpenResty configuration by file on a 1Panel server. Use when you need to change OpenResty settings via file upload.
Instructions
Update OpenResty config by file (XPack)
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": {
"content": "<content>"
},
"name": "update_openresty_by_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes |