create_post
Schedule a post to one or more channels. idempotency_key is required; retries with the same key never double-post or double-charge. Optional max_price_usd refuses a price above your cap. Preview: posts are validated and priced in the sandbox, not published yet.
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": {
"idempotency_key": "<idempotency_key>",
"brand_id": "<brand_id>",
"body": "<body>",
"scheduled_at": "<scheduled_at>",
"channels": "<channels>"
},
"name": "create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Post text, max 5000 chars; each network's own limit is checked too (see list_networks). | |
| brand_id | Yes | Brand id from list_brands. | |
| channels | Yes | Channel ids from list_channels (1-20). | |
| media_urls | No | Up to 10 public https URLs of images or video, e.g. ["https://example.com/a.jpg"]. | |
| scheduled_at | Yes | When to deliver, ISO 8601 UTC with Z, e.g. "2026-12-01T15:00:00Z". | |
| max_price_usd | No | Optional cap in USD for the whole post, e.g. 0.10. The post is refused if the price is higher. | |
| idempotency_key | Yes | Your own unique string (8-128 chars), e.g. a UUID. Reuse it on retries so the action happens once. |