smartchat

get_contact

Returns one contact with its tags, opt-in status and creation time. Use search_contacts to find the contact ID first. Read-only.

Tool nameget_contact
Permissioncontacts:read
readOnlyHinttrue
destructiveHintfalse
idempotentHinttrue
openWorldHintfalse
REST callGET /v1/contacts/{contact_id}

#What it does

  • Only reads data. It changes nothing and sends nothing.

#Input

The tool takes one flat object. Path, query and body fields of the REST call are merged into it.

NameTypeRequiredDescription
contact_idstringyesContact ID.

#Result

The result has the same content as the REST answer. Lists have at most 50 items per page (default 20); use cursor for the next page.

Errors come back as a tool result with isError: true. The error codes are the ones in Errors.