set_selection_public
Publish or unpublish a selection on Ozon by toggling its public status. Controls whether the selection appears on your public profile.
Instructions
[GATED by writes_enabled] Publish a selection to the account owner's public profile, or unpublish it. Outward-facing — confirm with them before publishing. Publication is reviewed by Ozon, so the status comes back as "На модерации" rather than public.
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": {
"uuid": "<uuid>",
"public": "<public>"
},
"name": "set_selection_public"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | The selection, from list_selections()[].uuid. | |
| public | Yes | True publishes to the account's public profile, False takes it back to link-only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | The link Ozon's own «Скопировать ссылку» gives; it carries the owner id and needs it to work. | |
| name | No | ||
| uuid | Yes | ||
| cover | No | ||
| items | No | How many products it holds; selection_products() lists them. | |
| public | No | ||
| status | No | ||
| owner_id | No | ||
| description | No |