Actions / Posts
Create drafts
Read and createcreate_drafts
Saves one or more posts to Drafts. Never schedules or publishes. Target accounts with accountIds from list_accounts, or platforms. Attach media with mediaFileIds from list_media or https mediaUrls returned by Chirpy.
Needs the write scope. Creates or changes things in Chirpy. Publishes nothing.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
posts | object[] | Yes | Each item: content (required), platforms, accountIds, mediaFileIds, mediaUrls, note. Up to 20. |
REST
curl https://chirpy.me/api/v1/create_drafts \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"posts":[{"content":"..."}]}'MCP
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_drafts",
"arguments": {
"posts": [
{
"content": "..."
}
]
}
}
}MCP hints: readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false.
