search_calls_by_number
Find all calls to or from a specific phone number by matching its last 10 digits. Use any phone format with optional filters for account, company, and lookback period.
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 |
|---|---|---|---|
| days | No | ||
| account_id | No | ||
| company_id | No | ||
| phone_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |