Data Budget Calculator
calculate_data_budgetUse when the user asks how much of their plan data is left or how to ration it over a trip. Computes remaining data, daily budget and end-of-trip projection from the plan size and usage so far (which the user's phone reports exactly).
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": {
"plan_gb": "<plan_gb>",
"used_gb": "<used_gb>"
},
"name": "calculate_data_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_gb | Yes | Plan size in GB, e.g. 5 | |
| used_gb | Yes | Data already used in GB — the phone shows this in Settings > Cellular / Network & Internet | |
| days_total | No | Trip or validity length in days | |
| days_elapsed | No | Days already gone |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes |