tag_posts
Add, remove or replace the tags of up to 500 posts at once, published posts included (tags never go to a platform). Use it to tag older posts so get_tag_analytics has enough posts to compare: find them with list_posts, read their captions, then tag them. add / set take tag names or ids (a new name becomes a tag); remove takes names or ids; set replaces a post's tags.
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": {
"post_ids": "<post_ids>"
},
"name": "tag_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Tags to add, e.g. ["Question hook"] | |
| set | No | Replace the posts' tags with exactly these; [] removes all | |
| remove | No | Tags to remove | |
| post_ids | Yes | OmniSocials post ids (from list_posts) |