bettbox_set_mode
Changes outbound routing mode to rule, global, or direct for the current session; restart restores the persisted default.
Instructions
Change the outbound routing mode: rule / global / direct.
Runtime-only. Bettbox rebuilds the config from config.json on the next
start, so a persisted default still wins after a restart.
Args:
params (SetModeInput): mode.
Returns: str: Confirmation naming the previous and the new mode.
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_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |