Create or update a composer preset
save_presetSaves a composer preset: without presetId creates one (name required; at most 50 presets per workspace), with presetId changes it, and only the fields you pass change. platformDefaults holds platform-prefixed fields grouped by platform (e.g. {"youtube": {"youtube_privacyStatus": "private"}}); the composer reads only that shape, and on a change a passed platformDefaults replaces the stored defaults entirely. Under TikTok's rules a tiktok_privacyStatus is the creator's own choice of visibility. accountGroup scopes the preset to one account group (omit for a global preset; null makes it global, on a change). isActive makes it the active preset for its scope (only one can be active per scope; a conflict returns a readable error).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Preset name; required to create | |
| isActive | No | Make this the active preset for its scope | |
| presetId | No | The preset's _id (see list_presets), to change it; omit to create a preset | |
| workspace | No | Act in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace. | |
| accountGroup | No | Account-group _id to scope to (omit for a global preset); null makes it global (with presetId) | |
| platformDefaults | No | Platform-prefixed default fields, grouped by platform |