One line's recent calls
get_line_callsRead recent incoming call history for a prepaid line you own, newest first. Use line_id from get_answering_line. Returns items and next_before; pass that cursor as before to page within retained recent history. Answered calls include duration and summary when available. Attempts made while paused contain only id, at, caller and status paused, without audio or a transcript. Use get_line_call_transcript for an answered call. Needs lines:manage; read only and rate limited per account.
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": {
"line_id": "<line_id>"
},
"name": "get_line_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 25, max 100. | |
| before | No | ISO timestamp cursor: only calls before this. | |
| line_id | Yes | From get_answering_line. |