search_mentions
Find who can be mentioned in a conversation by searching partial names or IDs. Returns the exact mention text (e.g., @"john.doe") for writing messages.
Instructions
Find who can be mentioned in a conversation, for writing a message that mentions them.
Args: token: The conversation token. search: Part of a name or ID; an empty string lists the first matches. limit: Maximum results (1-50, default 20). Needs a conversation you can write in.
Returns: JSON list of matches with id, label (display name), source (users, groups, guests, calls for everyone in the room, ...) and "mention", the text to put in the message, e.g. @"john.doe".
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": {
"token": "<token>",
"search": "<search>"
},
"name": "search_mentions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| token | Yes | ||
| search | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |