Для AI-агентов: markdown этой страницы — /docs/mcp-tool-publish-entity.mdиндекс документации — /llms.txt
publish_entity
Обновлено
Create or replace the content of business items in one call: catalog items, order statuses, marketing campaigns, broadcasts, chain steps, events and booking resources. Each item carries target_topic, intent, content (text and/or media_refs from media_finalize or media_import_files) and the config of its topic. CREATE makes a new item; REPLACE swaps the content of an existing one (replace_target.id) and keeps its number; RESTORE brings a deleted one back; INITIALIZE_DELIVERY adds the first after-purchase message to a catalog item (initialize_target.id). A booking resource photo takes CREATE/REPLACE only, with config.resource_id and config.etag. Each result returns id once the item is ready, or a draft_handle to poll with get_content_draft. One bad item never stops the others, repeating the same request is safe, and the batch size follows your plan.
Права и условия
required_scopes: ALL.
| Поле | Значение |
|---|---|
| description | "Create or replace the content of business items in one call: catalog items, order statuses, marketing campaigns, broadcasts, chain steps, events and booking resources. Each item carries target_topic, intent, content (text and/or media_refs from media_finalize or media_import_files) and the config of its topic. CREATE makes a new item; REPLACE swaps the content of an existing one (replace_target.id) and keeps its number; RESTORE brings a deleted one back; INITIALIZE_DELIVERY adds the first after-purchase message to a catalog item (initialize_target.id). A booking resource photo takes CREATE/REPLACE only, with config.resource_id and config.etag. Each result returns id once the item is ready, or a draft_handle to poll with get_content_draft. One bad item never stops the others, repeating the same request is safe, and the batch size follows your plan." |
| domain | "content" |
| name | "publish_entity" |
| platform_version | "1.0.34" |
| required_scopes | ["content:write"] |
| risk | "write" |
| scope | "content:write" |
| title | "Publish Entity" |