update_host
Modify an existing host record in 1Panel by ID, changing its address, port, user, group, or description when connection details change.
Instructions
Update host
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": {
"id": "<id>"
},
"name": "update_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| addr | No | ||
| name | No | ||
| port | No | ||
| user | No | ||
| groupID | No | ||
| description | No |