get_contact
Retrieve a single contact's full details by UID, including name, emails, phones, addresses, organization, title, and notes from a Nextcloud address book.
Instructions
Get a single contact by UID.
Args: uid: The contact UID. Use get_contacts to find UIDs. book_id: Address book ID (default "contacts").
Returns: JSON contact object with uid, full_name, name, emails, phones, addresses, organization, title, note, etag.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uid": "<uid>"
},
"name": "get_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| book_id | No | contacts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |