list_chats
Lists 1:1, group, and meeting chats from a local SQLite cache, with optional live sync from Microsoft Graph.
Instructions
List 1:1, group, and meeting chats (use list_teams_channels for team channels). Reads the local SQLite cache with no Graph request when the cache covers limit; set refresh=true to sync live from Microsoft Graph (about 1 request per 50 chats). Requires delegated Chat.Read. Returns { chats }.
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 |
|---|---|---|---|
| limit | No | Maximum number of chats to return (1..1000, default 50). | |
| refresh | No | Sync chats live from Microsoft Graph before returning (about 1 request per 50 chats). |