reply_all_email
Send responses to all recipients in an email thread using the Microsoft MCP server, simplifying group communication through structured inputs for account, email ID, and message body.
Instructions
Reply to all recipients of an email
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": {
"account_id": "<account_id>",
"email_id": "<email_id>",
"body": "<body>"
},
"name": "reply_all_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| body | Yes | ||
| email_id | Yes |
Implementation Reference
- src/microsoft_mcp/tools.py:465-472 (handler)Implementation of the reply_all_email tool. Uses Microsoft Graph API to POST to /me/messages/{email_id}/replyAll with the provided body text. Registered via @mcp.tool decorator.
@mcp.tool def reply_all_email(account_id: str, email_id: str, body: str) -> dict[str, str]: """Reply to all recipients of an email""" endpoint = f"/me/messages/{email_id}/replyAll" payload = {"message": {"body": {"contentType": "Text", "content": body}}} graph.request("POST", endpoint, account_id, json=payload) return {"status": "sent"}