search_calls_by_number
Locate call records for any phone number by matching its last 10 digits. Accepts various input formats and offers optional account, company, and lookback window filters.
Instructions
Find calls from/to a specific phone number. Matches on the last 10 digits
of the stored customer_phone_number so any format works.
Args: phone_number: Any format — will be normalized to digits-only. Must contain at least 7 digits to avoid false positives. account_id: Auto-resolves. company_id: Optional company filter. days: Lookback window (default 90).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone_number | Yes | ||
| account_id | No | ||
| company_id | No | ||
| days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |