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.
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": {
"accountId": "<accountId>",
"collection": "<collection>"
},
"name": "add_to_collection"
}
}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. |