search
Targeted search across calls, contacts, SMS, or knowledge. Choose the narrowest scope. For calls/contacts/SMS use only a phone number, name, company, or 1-4 distinctive words, never a full request. Any explicit call time window takes precedence over a name, phone, company, or topic: use getCallHistory.sinceHours and do not call search in the same turn to bypass or widen that window. Natural-language questions are allowed only with scope=knowledge. scope=all searches contacts, calls, and SMS but not knowledge. On follow-ups, reuse sufficient prior results instead of repeating the same query with a higher limit. Returns Call IDs for getCallDetails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Maximum results per selected section. Choose the smallest useful limit; normally 3, or omit for the default 5. Use more only when the user asks for a broader list. Up to 10; larger values are capped to 10. | |
| query | Yes | The shortest distinctive lookup text. For calls, contacts, or text conversations use only a phone number, email, name, company, or 1-4 meaningful topic/message words. Never restate the full user request. Any explicit call time window such as "today" or "a couple hours ago" takes precedence over a name, phone, company, or topic: use getCallHistory.sinceHours and do not use search to bypass that window in the same turn. A natural-language question is allowed only with scope="knowledge". | |
| scope | Yes | Required search surface: calls, contacts, conversations, knowledge, or all. conversations searches SMS, email, and website-chat threads. Pick the narrowest surface. all searches contacts, calls, and text conversations but not knowledge; use it only when the user explicitly asks across multiple operational data types. |