Send to my website
publish_taskUse this only after the owner explicitly asked to send finished work to their website. It sends the work the way the website is connected: a draft in the owner's blog or CMS, or a GitHub pull request, never a live post. Nothing goes live by itself: the answer says what the owner clicks to put it live, and the pull request or draft can still be closed or deleted. Once sent, the task's status says how far the work got, such as "Sent, waiting to be merged" (deliveryState in data), until Romeo sees it live. Pass task_id for one task, or task_ids to send up to 10 finished tasks of one website in one call when the owner asked to send them all: they are sent one after another (a few seconds each), a task that cannot be sent does not stop the others, and the answer lists each one (results in data: sent, refused or failed with the reason, or not_started when the call ran out of time before reaching it: ask again to try those). Works only for finished tasks ready to send (get_seo_plan with show needs_you lists them; get_task shows the work, and include_article the article). Some finished tasks cannot be sent and are done by hand instead (get_task and get_seo_plan say "do it by hand"): once the owner did them, mark_task_done records it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publish_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The website to work on: its domain (example.com) or its site_id from list_sites. Leave it out when the account has one website. | |
| task_id | No | One task's task_id from get_seo_plan or get_task. For several tasks, use task_ids. | |
| task_ids | No | Several task_ids from get_seo_plan, up to 10, to send to the website in one call. All must be tasks of one website. Pass either task_id or task_ids, not both. |