Stop / Restore Mobile Data
telgea_set_data_restrictionStop or restore mobile data for a single line or every line of a user while keeping calls and SMS active; confirm the action first and provide a reason.
Instructions
Stop or restore mobile data on one line (numberId) or on every line of a user (userId). Calls and SMS keep working. Requires TELGEA_ENABLE_WRITES=true on the server. Confirm with the user first.
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": {
"action": "<action>",
"reason": "<reason>"
},
"name": "telgea_set_data_restriction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| reason | Yes | Why — kept in the audit log (and with Telgea where the endpoint takes a reason). | |
| userId | No | Every line of this user. | |
| numberId | No | One line. |