# Hermoso: set_connector_accounts · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/set_connector_accounts/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / set_connector_accounts

# `set_connector_accounts`

Choose which accounts a brand may use destructive

Area: CONNECTOR WRITES · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`provider` required `"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

`accountIds` required `string[]` 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](https://hermoso.ai/docs/credits/).

## Related tools

- [list_connector_accounts](https://hermoso.ai/docs/reference/workspace/list_connector_accounts/) List a connector’s accounts
- [disconnect_connector](https://hermoso.ai/docs/reference/workspace/disconnect_connector/) Disconnect a connected account

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
