mail_send
Send a brief message to another agent's inbox. Creates a markdown file with enforced naming and frontmatter for reliable inter-agent communication.
Instructions
Send a brief/message to another agent's inbox. Writes a YAML-frontmatter markdown file to /.claude/inbox/-.md atomically. Caller identity comes from MAILBOX_MCP_AGENT_ID env var (default 'workspace'). Use this instead of writing files manually — it enforces naming, frontmatter, and audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target agent. | |
| ref | No | One-line summary for list views. | |
| body | Yes | Markdown body of the brief. | |
| refs | No | External links: issue, mr, ticket URLs + depends_on (array of mail ids). | |
| topic | Yes | Slug for the filename. Letters, digits, dashes; start with alphanum; max 81 chars. Uppercase allowed for ticket prefixes — e.g. 'OXXII-2577-pass-2' or 'fix-nbsp-encoding'. | |
| labels | No | ||
| status | No | Initial status. Default 'open'. | |
| reply_to | No | Parent mail id. Use mail_reply for the convenience wrapper that also flips parent status. |