campaignstack_explain_draft
Why a draft says what it says: each sentence attributed to the piece of configuration that produced it (the offer context, a playbook section, the campaign guidance, an agent's script, the outreach intent, the voice profile, a node's instructions, an agent memory, the contact details, the calendar availability, the conversation so far, the product's built-in rules, the lead's own facts), plus the tool and field that changes each one. Works on in-app and MCP-crafted drafts alike. Every citation is re-checked against the prompt section it names, so an unverifiable one comes back as unattributed rather than as a plausible guess. Call this when a draft reads wrong and you need to know WHICH setting to edit; campaignstack_preview_craft_prompt shows the same prompt for a draft that has not been written yet. Pass include ["attempts"] to see whether a draft held for review was rewritten on each attempt and why each one was rejected. Charges mcp_craft credits per call; campaignstack_estimate_cost gives the number before you commit. One model call over a stored draft and its prompt; writes nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "campaignstack_explain_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entryId | No | A current review entry id from campaignstack_get_reviews. Resolves to the draft's recorded craft session. Use craftAuditLogId for historical drafts. | |
| include | No | Extra sections. "attempts": every draft the review loop wrote for this message, in order, with a text hash, word count and each check's verdict and objection. | |
| workspaceId | No | Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too. | |
| craftAuditLogId | No | A craft audit log row id, usually copied from an internal audit export or previous explain-draft result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | ||
| fixes | No | ||
| caller | No | ||
| verdict | No | ||
| attempts | No | ||
| createdAt | No | ||
| sentences | No | ||
| craftAuditLogId | No |