Draft Teams message
teams_draftCompose a Microsoft Teams message or reply, display a local preview, and keep the draft unsent until the user approves sending.
Instructions
Prepare a Teams message and show its preview. Nothing is sent; the draft stays on this computer.
Give chat, to, or only reply_to. Then show the preview to the user and call teams_send after their approval.
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": {
"body": "<body>"
},
"name": "teams_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Instead of chat: a person's name (their 1:1 chat) or email (also a new chat). | |
| body | Yes | Message text (Markdown by default). '@[Full Name]' mentions that chat member. | |
| chat | No | Chat ref or name (see teams_find). | |
| reply_to | No | Message ref (p:…) to reply to; the reply quotes it. | |
| body_format | No | markdown | text | html. | markdown |