Send new fmsg message
send_messageSends an immutable Markdown message immediately to start a new thread for task updates or authorized automation; use reply to continue existing conversations.
Instructions
Send a new message immediately, starting a new thread. fmsg messages are immutable: once sent they cannot be edited or recalled. Send within the user's requested task or authorized automation. Recipients may be full @user@domain addresses or resolvable short names. The body is Markdown by default. Secrets are redacted. If the host rejects the message its reason is returned verbatim. To continue an existing conversation use reply instead. Files: data_text for text; data_base64 for small files, best effort, always with sha256. Send files as they are; fmsg compresses them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | recipient addresses (@user@domain) or short names | |
| body | Yes | message body; Markdown unless type says otherwise | |
| type | No | body media type | text/markdown; charset=utf-8 |
| files | No | files the user shared in this chat (images, PDFs and so on); the host fills these in and this server downloads them, so never write their bytes as base64 | |
| topic | Yes | thread topic (subject) — immutable once sent | |
| no_reply | No | ask recipients (and their agents) not to reply | |
| important | No | mark as important for recipients | |
| attachments | No | files | |
| include_owner | No | also send to your owner, if whoami shows one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| to | Yes | ||
| from | Yes | ||
| hint | No | for you, not the user: a better way to do this next time | |
| time | Yes | ||
| files | No | the files given by reference, as attached: the name used, size and hex sha256 of the bytes | |
| topic | Yes | ||
| redacted | No | the kinds of secret replaced, such as github_token; empty when none | |
| resolved | No | short names and how they resolved, when any were given; confirm with the user if an address looks wrong | |
| warnings | Yes | things to tell the user, such as redacted secrets or resolved short names | |
| parent_id | Yes | ||
| redactions | Yes | secrets replaced with placeholders before sending | |
| attachments | Yes | sorted by filename, the same order in every tool | |
| thread_topic | No | the thread's topic: the topic sent for a new message; for a reply, the thread root's topic, or null when the root is not visible |