Comandă publicarea (cheltuiește)
order_publicationTrimite un articol spre publicare pe unul sau mai multe site-uri. Rezervă bani sau credite din cont. Merge doar dacă organizația a pornit „asistenții AI pot comanda și publica".
Use when the user has explicitly confirmed publishing a specific draft on specific sites, with the total shown. Spends credits or money. Do not use when the user has not confirmed, or to estimate costs: use plan_budget or get_site.
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": {
"articleId": "<articleId>",
"siteIds": "<siteIds>"
},
"name": "order_publication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteIds | Yes | Site-urile pe care se publică, din search_catalog sau plan_budget. | |
| articleId | Yes | Articolul, din list_articles sau create_article. | |
| promoCode | No | Cod de reducere, dacă există | |
| campaignType | No | Implicit SEO | |
| packageTypeId | No | Pachetul din care se plătește, când sunt mai multe |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publications | No | array of {id, siteId, status, amountCents, paymentSource}. One per ordered site. |