Link account
link_accountLink a connected account to a client that ALREADY exists — the step after connecting a platform when the client is set up but the new account is not placed yet (the refusal says 'not linked to any of your clients'). Use the IDs exactly as the list tools returned them. Each account is looked up by name and checked against the client's name: one that looks like a different business blocks the link until the person confirms it. Previews unless confirm is true. If the client already has a different account of that kind, nothing changes unless replace is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | Yes | The client's name as list_clients returns it | |
| confirm | No | false previews; true links | |
| replace | No | Only after the preview said the client already has a different account of that kind AND the person wants it swapped for this one. | |
| crm_location | No | CRM location id | |
| meta_account | No | Meta ad account, act_… | |
| wordpress_site_id | No | WordPress site id from wp_list_sites | |
| analytics_property | No | GA4 property id, digits only | |
| google_ads_account | No | Google Ads customer id | |
| search_console_site | No | Search Console site exactly as listed, e.g. sc-domain:example.com | |
| acknowledge_mismatch | No | Only after the preview flagged an account as looking like a different business AND the person has confirmed it does belong to this client. | |
| business_profile_location | No | Business Profile location id |