linux_setlinuxip
Set the IP address, CIDR prefix, and gateway for the Linux app on a DrayTek router. Requires confirmation and a reboot to take effect.
Instructions
Set Linux app IP (first time; reboot to apply) (write — requires confirmation)
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": {
"ip": "<ip>",
"cidr": "<cidr>",
"gateway": "<gateway>"
},
"name": "linux_setlinuxip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| cidr | Yes | ||
| gateway | Yes | ||
| user_code | No | ||
| acknowledge | No | ||
| confirm_token | No | ||
| confirmation_id | No |