getCallHistory
Compact list of the user's calls. Params: type (INCOMING|OUTGOING|ALL), count (default 5; choose the smallest useful count and use more only if needed), skip (default 0), and optional sinceHours. Any explicit call time window takes precedence over a name, phone, company, or topic and must use sinceHours. It is a hard boundary: do not silently search older calls when that window has no match; increase count or paginate only inside the same boundary. Returns id, direction, status, phone, timestamp, receptionist, title, and short summary. Copy one exact likely Call ID into getCallDetails; never reconstruct an ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | Yes | Number of results to skip, default is 0 | |
| type | Yes | Type of the history | |
| count | Yes | Number of compact results. Choose the smallest useful count: normally 5; use more only when the user asks for an exhaustive list or 5 results were insufficient. Up to 20; larger values are capped to 20. | |
| sinceHours | Yes | Hard time boundary: only return calls whose call time falls within this many hours (incoming createdAt; outgoing scheduledAt). Future scheduled outbound calls are excluded. Use for requests like "today", "recently", or "a couple of hours ago" instead of putting time words into search. If no returned call matches, say so or ask before widening; do not run an unbounded search in the same turn. |