Skip to content

Add assistantmail_reply_message tool #2

@dmcrider

Description

@dmcrider

The existing assistantmail_send_email tool calls POST /v1/mailboxes/{mailboxId}/messages. The new tool follows the same pattern but hits the reply endpoint:

POST /v1/mailboxes/{mailboxId}/messages/{messageId}/reply
Body: { text?: string, html?: string } 

The tool definition needs:

  • Input params: mailboxId, messageId (the message being replied to), text, html
  • No to, subject, or threading headers — the backend derives all of those automatically from the original message
  • Returns { messageId, status, inReplyTo, subject } (the auto-generated reply subject is echoed back)

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions