Draft a post
sprkly_draft_postCompose a caption from a content hint and save it as a draft in sprkly, shaped to the tightest caption limit among the target platforms. Returns a draft id; the draft appears under /drafts for the user to 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": {
"content_hint": "<content_hint>"
},
"name": "sprkly_draft_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label for the draft. | |
| tone | No | Voice for the draft. | casual |
| platforms | No | Intended platforms, used to pick the caption length ceiling. | |
| post_type | No | Optional. What the post is for: awareness (show new people who you are and what you sell), educational (teach something useful), proof (show that other people trust you), conversation (get people to reply), conversion (ask people to buy, book or order now), loyalty (for people who already bought). Any other value is refused. Separate from category, which is the topic. | |
| profile_ids | No | Optional accounts to pre-select on the draft. From sprkly_list_profiles. | |
| content_hint | Yes | What the post should be about: a topic, phrase, or key message. |