get_contacts
Retrieve contacts from a Nextcloud address book with pagination. Specify a book ID, limit, and offset to filter results, returning contact details like names, emails, phones, and addresses.
Instructions
Get contacts from an address book.
Args: book_id: Address book ID (default "contacts"). Use list_addressbooks to find IDs. limit: Maximum number of contacts to return (1-500, default 50). offset: Number of contacts to skip for pagination (default 0).
Returns: JSON with "data" (list of contact objects with uid, full_name, name, emails, phones, addresses, organization, title, note) and "pagination" (count, offset, limit, has_more).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| book_id | No | contacts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |