threads_publish_long_text
Publishes an approved Threads post or reply with a short text preview and a long-text attachment up to 10,000 characters, optionally adding a link.
Instructions
Publish an approved text preview (up to 500 chars) with a long text attachment.
attachment_text must be non-blank, at most 10000 characters. Both texts and optional HTTP(S) link_url are sent unchanged. Plain text only; styling is not supported here. Meta limits unique links to five and disallows an attachment link when the main post already has a link attachment. Meta enforces these limits. Requires threads_content_publish; for a reply, also threads_manage_replies and access to reply_to_id. Omit reply_to_id to publish a new post. Use reply_control/enable_reply_approvals only when the user requests those settings. Publish only after explicit approval of the account, both texts, link and any reply target. Processing starts with a 30-second wait and may take longer. Do not use this tool to test access. This action is not idempotent. After timeout, cancellation or unknown outcome, check threads_list_posts or threads_list_replies before another attempt; inspect the full attachment in Threads if needed. Do not retry automatically. Preparation is saved once its container IDs are known. After processing timeout or interruption, use threads_list_publications for this account. Resume only a preparing record with threads_resume_publication, preserving the approved content. Never repeat this creation tool for a saved preparation.
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": {
"account_id": "<account_id>",
"text": "<text>",
"attachment_text": "<attachment_text>"
},
"name": "threads_publish_long_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| link_url | No | ||
| account_id | Yes | ||
| reply_to_id | No | ||
| reply_control | No | ||
| attachment_text | Yes | ||
| enable_reply_approvals | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes |