List chats
list_chatsList the signed-in user's 1:1 and group chats with IDs, topics, types, and last updated times to obtain the chat IDs needed for fetching messages.
Instructions
List the signed-in user's 1:1 and group chats (id, topic, type, last updated). Use a chat id with list_chat_messages.
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": "list_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum chats (capped by TEAMS_MAX_RESULTS) |