Rewrite outreach draft
rewrite_outreachReplaces the text of an outreach draft that is waiting for approval. The current draft and the lead's scoreExplanation come from list_pending_outreach; get_lead_memo carries the richer research on that person. The rewritten draft stays in the approval queue, and this tool sends nothing. LinkedIn follow-up drafts (kind: follow_up) cannot be rewritten here: they are edited in Onsa, or approved as written with send_outreach.
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": {
"leadId": "<leadId>",
"text": "<text>"
},
"name": "rewrite_outreach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The full replacement message. This same string is called `draftText` when list_pending_outreach returns it, and `confirmText` when you pass it to send_outreach — three names, one set of bytes. | |
| leadId | Yes | Lead whose draft to rewrite, from list_pending_outreach | |
| subject | No | Email subject; only email delivery reads it, and send_outreach, a LinkedIn send, does not. When omitted, the stored subject stays unchanged, so a body-only edit keeps it; a string replaces it, and null clears it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| leadId | Yes | ||
| subject | Yes | ||
| updated | Yes |