Search Contacts
search_contactsSearch contacts by name, email, or phone number using prefix matching. Get results from your Microsoft account.
Instructions
📖 Search contacts (read-only, safe for unsupervised use)
Searches contact names, email addresses, and phone numbers. Uses $filter with prefix matching (startswith) for all account types due to Graph API limitations.
Note: Contact search is limited to prefix matching and may not find matches in the middle of names.
Args: query: Search query string (1-512 characters, used as prefix) account_id: Microsoft account ID limit: Maximum results to return (1-500, default: 50) use_cache: Whether to use cache (default: True) force_refresh: Bypass cache and fetch fresh data (default: False)
Returns: List of matching contacts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| account_id | Yes | ||
| limit | No | ||
| use_cache | No | ||
| force_refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |