Group an account into a collection
add_to_collectionGroup an account into a collection for scheduled posting. Creates a named collection if needed, or ungroup with an empty name.
Instructions
Group a connected account into a collection (a named set of accounts, e.g. "clefdrills" spanning its X + Instagram). CREATES the collection if the name is new, so this is also how you create one. Then schedule_post can post to the whole group via its collection field. Pass accountId (an integration id from list_integrations) and collection (the group name). Pass an empty collection name to ungroup. CAPABILITY: draft — creates content that cannot reach an audience on its own. Safe for a draft-only agent token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Integration id of the account to group (from list_integrations). | |
| collection | Yes | Collection name. Created if it does not exist. Empty string ungroups. |