get_calls_by_duration
Use when the user asks for power-dialer calls that lasted longer than X seconds/minutes. Requires callDurationGreaterThanSeconds. Omit contactId to search ALL calls visible to the user, or provide contactId to restrict results to one contact. Returns newest matching calls with exact durationSeconds, contact, disposition, note, campaign/list context, and speaker-labeled transcription when available. Duration is strictly greater than the threshold using the call recording's length; calls without a recording are excluded. Read-only and paginated via page and limit (default 20, max 50).
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": {
"callDurationGreaterThanSeconds": "<callDurationGreaterThanSeconds>"
},
"name": "get_calls_by_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| contactId | No | Optional contact id. Omit it to search all calls visible to the requesting user. | |
| callDurationGreaterThanSeconds | Yes | Return only calls whose recorded duration (the call recording's length) is strictly greater than this whole number of seconds. Calls without a recording are excluded. |