Messaging: Find chat by user
messaging_find_chat_by_userFind the existing one-to-one chat for a known LinkedIn, WhatsApp, Instagram, Facebook or Telegram provider user ID. Use after resolving the user; user_id is not chat_id.
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": {
"user_id": "<user_id>"
},
"name": "messaging_find_chat_by_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Exact provider user ID returned by a profile/contact resolver; never a name or profile URL. | |
| account_id | No | Optional Nilyo connection ID (unipile_account_id from list_connected_accounts). Omit when the user has one account for this provider. When several exist, Nilyo never guesses: list them (display name, identifier, provider user ID), choose the one the user named or ask, and pass its ID here. |