Create Pending Reply
create_pending_replyPending Replies (Inbox): save a reply the user owes someone, e.g. 'what to reply to X', 'I owe X a reply'. Use this, not log_event or a task. Optional draft (the reply text), summary (one line in your own words; never the email body, subject or sender), channel, category, received_at, and source { kind, thread_id, message_id } (ids only). Links the contact only when resolve_person finds exactly one (or pass person_id); otherwise the reply is saved unlinked and person_link says why. An unsent reply for the same thread or person comes back instead of a second one (created: false, deduplicated: true); update_existing: true replaces its draft and summary. Never sends anything. Requires API key or OAuth with context.write; share tokens cannot write. ($0.10; API key required)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"person_name": "<person_name>"
},
"name": "create_pending_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | The reply text to send later, max 20,000 characters. Replaces the saved draft; empty or null clears. Alias: draft_message. | |
| source | No | The email the reply answers, as ids only (e.g. a search_gmail id is a message_id). Never a subject, sender or text. On update, null clears it. | |
| channel | No | Where to reply: whatsapp, email, sms, call, imessage, telegram, instagram, facebook, signal, linkedin, twitter, slack, reddit, teams, work_email, zoom, dayze, other; the platform the conversation is on (a Reddit thread is reddit, an Instagram group instagram). Default email when source is set, else other. | |
| summary | No | One line (max 280) in your own words: what the reply is about. Never paste the email body, subject line or sender address. | |
| category | No | Default personal. | |
| person_id | No | An owned contact id; links that contact directly. | |
| request_id | No | Client idempotency key (retries return original result). | |
| person_name | Yes | Who the reply is owed to, as the user said it (e.g. "Ilana"). | |
| received_at | No | When they wrote (ISO date-time). Default now. | |
| draft_message | No | Alias for draft. | |
| idempotency_key | No | Alias for request_id. | |
| recipient_email | No | Optional recipient email (auto-link; never sends). | |
| recipient_phone | No | Optional recipient phone (auto-link; never sends). | |
| update_existing | No | When an unsent reply for this thread or person exists, write draft/summary onto it instead of returning it unchanged. | |
| recipient_handle | No | Optional recipient handle (auto-link; never sends). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reply | Yes | One reply the user owes (Inbox → Pending Replies). Dayze never sends it. | |
| account | No | The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer. | |
| app_url | No | ||
| created | Yes | True when this call saved a new reply. | |
| message | Yes | ||
| updated | Yes | True when an existing unsent reply was changed (update_existing). | |
| matched_on | Yes | source_thread, source_message or person when deduplicated. | |
| provenance | No | Which connector wrote the record and which connected Dayze account received it. | |
| person_link | Yes | Whether a contact was linked. Linked only on one resolve_person match or an owned person_id. | |
| deduplicated | Yes | True when an unsent reply for the same thread or person was returned instead of a new one. | |
| source_saved | Yes | False when a source was given and could not be stored. | |
| life_state_rebuilt | Yes |