Alle hulpmiddelen

reply_email

E-mail · macOS

Effect: verzenden. Status: voorwaardelijk beschikbaar.

‘Voorwaardelijke beschikbaarheid’ betekent dat het hulpmiddel kan afhangen van versie, platform, machtigingen, account of configuratie. Het is niet in elke installatie actief.

macOS

Doel

Gebruik dit wanneer de gebruiker wil antwoorden op een e-mail die in Apple Mail op de Mac staat (bericht-ID uit list_emails/search_emails). Ondersteunt platte tekst of een HTML-body en toont een voorbeeld vóór verzending. Om het antwoord ZONDER verzending in Concepten te bewaren, geef je `save_as_draft: true` door: dit bouwt hetzelfde systeemeigen Mail-antwoord (automatisch citaat van het origineel, juiste conversatie, ontvangers voor Antwoord/Allen beantwoorden) en slaat het op in plaats van het te verzenden — op dat pad wordt `send` nooit aangeroepen. `create_draft` met `reply_to_message_id` laat ook een concept achter, maar stelt het vanaf nul op en bevat dus geen automatisch citaat. Gebruik m365_reply_email voor een Microsoft 365-bericht-ID uit m365_list_emails. Geef `account` door (uit de resultaten van list_emails/search_emails) om het doorzoeken van andere accounts over te slaan en time-outs op Macs met meerdere accounts te voorkomen.

Vereiste invoer

De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.

Machtigingen en bevestiging

Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.

Canoniek technisch schema in het EngelsmacOS
{
  "properties": {
    "account": {
      "description": "Account (from the listing) the message is in — pass it to skip scanning other accounts and avoid multi-account timeouts.",
      "type": "string"
    },
    "body": {
      "description": "Plain-text reply body.",
      "type": "string"
    },
    "confirm": {
      "default": "false",
      "description": "Consent gate: the first call previews the reply; call again with confirm=true to actually SEND it — or to save it when save_as_draft is set.",
      "type": "boolean"
    },
    "html_body": {
      "description": "HTML reply body. Takes precedence over `body` when both are given.",
      "type": "string"
    },
    "message_id": {
      "description": "Id of the message to reply to (from list_emails/search_emails).",
      "type": "string"
    },
    "reply_all": {
      "default": "false",
      "description": "Reply to all original recipients instead of just the sender.",
      "type": "boolean"
    },
    "save_as_draft": {
      "default": "false",
      "description": "Save the native reply in Drafts instead of sending it. Keeps Mail's reply template: automatic quote of the original, the right thread, and the Reply/Reply-All recipients. Nothing is sent on this path.",
      "type": "boolean"
    }
  },
  "required": [
    "message_id"
  ],
  "type": "object"
}

Documentatievoorbeeld

Documentatievoorbeeld voor reply_email. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.

{
  "body": "Can we review the launch checklist on Tuesday?",
  "confirm": false,
  "message_id": "demo-message-001"
}