threads_publish_image
Publish one approved image to a Threads account with an optional caption and alt text, using a public image URL after the user confirms the account and content.
Instructions
Publish one image only after the user approves the account, image and caption.
Requires threads_content_publish. Meta downloads image_url from a public HTTP(S) server; local files and private URLs will not work. URL, caption and alt_text are sent unchanged. Caption and alt_text are optional. Processing starts with a 30-second wait and may take longer. Do not use this tool to test access. Returns post_id after confirmed publication. This action is not idempotent. After a timeout, cancellation or unknown outcome, check threads_list_posts before attempting another publication to avoid duplicates. 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>",
"image_url": "<image_url>"
},
"name": "threads_publish_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| alt_text | No | ||
| image_url | Yes | ||
| account_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes |