Client: rename, website, report contact and language
update_clientEdit a client the way the dashboard's client editor does: rename it, set its website, or set who gets its weekly report (contact name and email) and the report's language. Linking or unlinking accounts has its own tools (link_account, unlink_account). Call without confirm to preview; changes only this agency's records. Removing a client is done on the dashboard (account_links).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | Yes | Client name from list_clients | |
| confirm | No | Leave false to preview: nothing changes and the preview shows exactly what would happen. Set true only after the user has agreed to this exact change. | |
| rename_to | No | ||
| website_url | No | Empty string clears it | |
| not_lead_events | No | GA4 key events that are NOT leads for this client (e.g. ["sign_up"] when the property also records another product's sign-ups). They stay key events in GA4; Autopilot's lead counts leave them out. [] clears it. | |
| report_language | No | ||
| report_lead_names | No | Show each lead's name in this client's weekly report (default true: they're the client's own leads; false shows only the town and what they asked for) | |
| report_contact_name | No | ||
| report_contact_email | No | Who receives the weekly Autopilot report; empty string clears it |