teams_wait_for_message
Waits up to 110 seconds for a new message in a conversation after a given message ID or time, enabling back-and-forth exchanges when paired with sending messages.
Instructions
Wait (up to ~110s) for a new message in a conversation after a given message id/time. Pair with teams_send_message for back-and-forth.
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": {
"conversation_id": "<conversation_id>"
},
"name": "teams_wait_for_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account alias (see teams_accounts). Defaults to the default account. | |
| conversation_id | Yes | ||
| timeout_seconds | No | ||
| after_message_id | No | Default: the latest message now | |
| from_others_only | No | Ignore your own messages. Default: true, except for "notes" (self-chat), where it is false |