threads_reply
Reply to Threads posts or replies with text or media. Text-only replies publish in a single API call; media uses a two-step flow.
Instructions
Reply to a Threads post or another reply. Text-only replies publish in a single API call by default (auto_publish_text=true); media replies always use the two-step create-then-publish flow. image_url and video_url are mutually exclusive — provide at most one.
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": {
"reply_to_id": "<reply_to_id>",
"text": "<text>"
},
"name": "threads_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Reply text | |
| image_url | No | Optional image HTTPS URL to attach. Mutually exclusive with video_url. | |
| video_url | No | Optional video HTTPS URL to attach. Mutually exclusive with image_url. | |
| reply_to_id | Yes | Post ID to reply to | |
| auto_publish | No | When true (default) and the reply is text-only (no image_url/video_url), combine container creation and publishing into a single API call via auto_publish_text=true — one HTTP request instead of two, and no risk of the 4279009 'container not propagated yet' race. Ignored for media replies. Set to false to force the legacy two-step flow for text replies. |