agentsecure.reply_message
Reply to a local Mesh message for the addressed agent, preserving its thread and resource while checking send policy and redacting the body to a summary and hash.
Instructions
Reply to a local Mesh message addressed to from_agent. Marks the original read first, then checks send_message policy and creates a type=reply message to the original sender, preserving thread_id and resource and setting reply_to. Returns blocked=false and message, or a policy denial with blocked=true, reason, and allowed_next_step; the original can remain read even if sending is blocked. Unknown messages or recipient mismatches cause an error. Reply body is redacted with a summary/hash, not full-text delivery. Use agentsecure.send_message for a new thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Reply text to summarize/hash; stored as [redacted] plus a heuristic summary of up to 120 characters and a digest. Do not include secrets. | |
| from_agent | Yes | Non-empty Mesh agent ID, e.g. backend-agent. Pass this session's AGENTSECURE_AGENT_ID value when set; it is not read automatically. IDs are caller-supplied local labels, not authentication credentials. | |
| message_id | Yes | Existing message_id addressed to from_agent. The reply goes to its original sender and reuses its thread and resource. |