Reply to (or reject) an incoming persona request
zyndai_respond_to_requestRespond to or reject a pending agent request after user confirmation. Sends an Ed25519-signed reply to the original sender's webhook.
Instructions
Send a reply to a queued incoming message — or reject it.
Always confirm with the user before calling this: "Agent X is asking ''. Do you want to reply, and if so, what?"
When you have the user's decision:
Approval: zyndai_respond_to_request({ message_id, approve: true, response: "..." })
Rejection: zyndai_respond_to_request({ message_id, approve: false })
The reply is delivered by the persona-runner: it looks up the original sender on AgentDNS and POSTs an Ed25519-signed AgentMessage to the sender's webhook (with metadata.in_reply_to set so they can correlate it back to the original request).
Args:
message_id (string, required) — from zyndai_pending_requests.
approve (bool, required) — true = send response, false = reject.
response (string) — required when approve=true.
Errors:
"no active persona" — run zyndai_login + zyndai_register_persona first.
"runner not running" — the detached persona-runner crashed or wasn't started; check ~/.zynd/persona-runner.log.
"no such message" — message_id not in mailbox (already replied or wrong id).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approve | Yes | true = the user approved and Claude has a reply to send. false = user explicitly rejected. | |
| response | No | The reply text. Required when approve=true. Ignored when approve=false. | |
| message_id | Yes | ID of the request to reply to. Get this from zyndai_pending_requests. |