Get DID history
get_did_historyReturn the billing/lifecycle history of one DID (by the phone number returned by list_dids / get_did): purchase assignment, renewals, cancellations, restorations, stock removal and renewal-setting (billing_cycles_count) changes, newest first. Each entry carries the action, when it happened, the channel it came from (user_panel / api3 / mcp / staff / system) and — for billing_cycles_count changes — the from/to values. HARD LIMIT: history is only retained for the last 90 days (the platform archives older partitions), so this can never show the full lifetime of a long-held number — say so instead of implying completeness. Returns at most 200 entries.
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": {
"number": "<number>"
},
"name": "get_did_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Optional filter to one action type. | |
| number | Yes | The full DID phone number (the `number` field from list_dids / get_did), digits only. |