bettbox_set_tun
Enable or disable TUN for the current Bettbox session; if the core lacks elevation, the change is rejected and the error is reported. Changes are not persisted.
Instructions
Enable or disable TUN for the current session only.
Enabling TUN needs the core binary to already hold elevation. Bettbox grants that once (setuid on macOS/Linux, a helper service on Windows); this MCP never handles a password. If elevation is missing the core rejects the change and the tool reports the error.
Args:
params (SetTunInput): enable.
Returns: str: Confirmation plus a reminder that the change is not persisted.
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": {
"params": "<params>"
},
"name": "bettbox_set_tun"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |