hermosodocs

set_connector_accounts

Choose which accounts a brand may use destructive

Area: CONNECTOR WRITES · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

Description

Set WHICH of a connector's accounts this profile is allowed to post to and spend from — Facebook Pages / Instagram / Meta ad accounts, Google Ads customers, LinkedIn company Pages (and the personal profile), Pinterest or Microsoft Advertising ad accounts. Pass ids from list_connector_accounts. This REPLACES the current selection: anything you leave out is un-shared, and an EMPTY list shares nothing (publishing then refuses — it fails closed by design, and the server re-verifies every id against the live connection, so an id the account cannot actually reach is rejected rather than saved). Ask the user which accounts they mean; posting as the wrong Page is a public mistake. Providers: tiktok, x, youtube, threads, bluesky, telegram, pinterest, instagram, meta, google_ads, linkedin, pinterest_ads, linkedin_ads, reddit_ads, apple_ads, trade_desk, outbrain_ads, amazon_ads, microsoft_ads, google_business, google_analytics, snapchat_ads, x_ads, tiktok_ads, google_tag_manager, google_search_console, bing_webmaster. Free.

Parameters

ParameterTypeDescription
providerrequired"tiktok" | "x" | "youtube" | "threads" | "bluesky" | "telegram" | "pinterest" | "instagram" | "meta" | "google_ads" | "linkedin" | "pinterest_ads" | "linkedin_ads" | "reddit_ads" | "apple_ads" | "trade_desk" | "outbrain_ads" | "amazon_ads" | "microsoft_ads" | "google_business" | "google_analytics" | "snapchat_ads" | "x_ads" | "tiktok_ads" | "google_tag_manager" | "google_search_console" | "bing_webmaster"which connector to scope
accountIdsrequiredstring[]the ids (from list_connector_accounts) this profile may use — an empty array shares nothing

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/set_connector_accounts.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_connector_accounts","arguments":{"provider":"<one of the listed values>","accountIds":"<array>"}}}

CLI

hermoso call set_connector_accounts --json '{"provider":"<one of the listed values>","accountIds":"<array>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 143 Workspace & account tools · tools.json