label_assign_add
Add labels to one scheduled post or library post by sending label_ids with either post_id or content_id, so content can be organized and filtered by label.
Instructions
Add labels to one scheduled post (post_id from post_content, the queue or history) or one library post (content_id); send exactly one of the two. label_ids come from label_list.
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": {
"label_ids": "<label_ids>"
},
"name": "label_assign_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | No | Encrypted id of a scheduled post, as returned by /api/post_content and the queue and history endpoints. Required when content_id is not sent; never send both. | |
| label_ids | Yes | Encrypted label ids from /api/label_list, up to 50: an array, a JSON array string or a comma-separated string. At least one. | |
| content_id | No | Encrypted id of a library post, as returned by the library content endpoints. Required when post_id is not sent; never send both. | |
| workspace_id | No | Workspace to act in (ws_id from workspace_list). Omit to use your default workspace. |