approval_plan_prepare
Combine 1–20 owned, unexpired, unconfirmed advertising drafts into one immutable approval. Supports mixed operation types within this platform through the existing validated prepare/confirm adapters. Stores a private approval; sends no advertising changes. The source drafts become members and cannot be confirmed separately. One approval covers the complete displayed change set within this platform, including account and target names, operations, before/after values, warnings and expiry. Confirmation requires the user's agreement in the conversation. Approval refs, draft IDs, digests and tokens are tool-traffic handles. Each item has its own receipt. A submitted background task is not a verified provider change. Uncertain writes and host safety denials are never replayed. A waiting_quota plan retains its confirmation until the original expiry; the same agreement covers proven-unsent rows after retry_at. Changed or expired plans require review. For video uploads supply the original source URL in source_urls keyed by draft ID; URLs are encrypted at rest and omitted from the review.
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": {
"draft_ids": "<draft_ids>"
},
"name": "approval_plan_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_ids | Yes | ||
| source_urls | No | ||
| connection_context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| error | No | ||
| items | No | ||
| needs | No | ||
| state | No | ||
| reason | No | ||
| changes | No | ||
| summary | No | ||
| platform | No | ||
| receipts | No | ||
| retry_at | No | ||
| retryable | No | ||
| error_code | No | ||
| expires_at | No | ||
| approved_at | No | ||
| next_action | No | ||
| plan_digest | No | ||
| support_ref | No | ||
| approval_ref | No | ||
| presentation | No | ||
| invalid_fields | No | ||
| rejected_paths | No | ||
| expected_changes | No | ||
| origin_support_ref | No | ||
| instruction_template_id | No |