Tool reference · Contacts
get_contact
Open a contact
Users with access to a groupread-only
POST /v1/actions/get_contact · MCP tool get_contact
Opens one contact by its ID, from search_contacts: its name, groups and notes, with only the fields the user sees, plus request-required fields without values, notes among them when the contact has some, each with can_ask, the people who can say yes to it: people in the group who see it and owners. Ask for one with request_field and the people the user picks from can_ask. A field the contact is missing can come with missing_fields_from_others: people you know who have its mobile number, each in could_share, to ask the same way. What the user shared of it comes as shared_by_you, each with whom, which fields, when and how: a request they said yes to (with its reason), a scan of its code, someone outside their groups, everyone in a group, or before anyone asked; shared_by_you_page is where they stop sharing it.
Parameters
| Parameter | Type | Required | Limits |
|---|---|---|---|
contact | string | required |
Who can use it
Users get it once they have access to a group, and each call is checked against that access. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.
Annotated read-only, so clients like ChatGPT can call it without asking.
Errors
Errors carry a stable code and a message written for people. See errors and their status codes.
curl https://api.withopenbook.com/v1/actions/get_contact \
-H "Authorization: Bearer $OPENBOOK_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70"
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_contact",
"arguments": {
"contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70"
}
}
}