Find shared chats
search_shared_chatsFinds chats on this seat shared with one person. Set one of contact_id, user_id, or number. contact_id is a saved contact. user_id is the other person's Widely user. A number matches that phone number, including a national form of the same number. Returns one page of chats with the chat name and the last message. limit and offset are the page that was applied, and total is the full match count.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_shared_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Chats in this page. Default 10, maximum 25. | |
| number | No | Phone number, including a national form of the same number. Set this, or contact_id, or user_id. | |
| offset | No | Chats to skip before this page. The following page starts at offset plus count. | |
| user_id | No | Widely user id of the other person. Set this, or contact_id, or number. | |
| contact_id | No | Saved contact id. Set this, or user_id, or number. |