contacts_query_contacts
Search and filter contacts by address book, text, or kind, with sorting options for name or date.
Instructions
Query contacts with optional filters and sorting.
Args: address_book_id: Filter to contacts in this address book. text: Full-text search across name, email, phone, etc. kind: Filter by kind (e.g. "individual", "org", "group"). limit: Maximum number of results to return. sort_by: Sort field — one of "name/given", "name/surname", "created", "updated".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "contacts_query_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address_book_id | No | ||
| text | No | ||
| kind | No | ||
| limit | No | ||
| sort_by | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |