mail_create_draft
Create an unsent outgoing email draft in Apple Mail and return its scripting ID, so agents can prepare messages while delivery remains a separate approved action.
Instructions
Create an unsent outgoing message in Mail and return its scripting ID. Delivery is a separate high-risk action. [v1.0.0; permissions: automation:Mail]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | One recipient email | |
| body | Yes | Plain text body | |
| subject | Yes | Subject | |
| _approvalId | No | ID of the exact action approved by a human in the macOS Agent Bridge extension | |
| _idempotencyKey | Yes | Client-generated unique key, required for writes; reuse only with identical arguments, including while waiting for approval |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| tool | Yes | tool name | |
| error | Yes | ||
| status | Yes | ||
| version | Yes | semantic version |