Price of an AI rewrite
quote_message_rewriteThe price in credits of rewriting one message by AI (mode). Free; answers result_id, expected_revision and credits for rewrite_message. [REST: POST /api/tasks/{id}/outreach/leads/{cid}/steps/{step_id}/rewrite/quote]
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": {
"task_id": "<task_id>",
"cid": "<cid>",
"step_id": "<step_id>",
"mode": "<mode>"
},
"name": "quote_message_rewrite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | The person's id (cid) from list_leads. | |
| mode | Yes | other_hook (another fact), shorter, warmer, rewrite (with the note). | |
| step_id | Yes | The step id of the message (get_outreach_lead steps[].step_id). | |
| task_id | Yes | The search id (task id), e.g. from list_searches or create_search. | |
| generation_id | No | The outreach generation id (get_outreach campaign.generation.id); omitted: the current one. |