Update Lead Automation
update_automationExplicit two-phase write; never infer or default configurable values. Timezone is not an update input; the stored timezone is shown in the preview and preserved. Supply automation_id and at least one explicit changed value; untouched stored values are preserved and are not re-asked. A complete call without confirmation_token only previews the full resulting configuration and changed fields; repeat the identical call with the token after later user confirmation to write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Optional Firebase uid. Must match the URL uid unless local fallback is enabled. | |
| weekday | No | ||
| criteria | No | ||
| frequency | No | ||
| daily_time | No | ||
| lead_count | No | ||
| bearer_token | No | Optional Firebase ID token. Hosted clients normally authenticate with an API key in the Authorization header or ?uid= in the URL instead. | |
| day_of_month | No | ||
| automation_id | No | ||
| conversation_id | No | Creator-list key for durable state. Reuse a returned list_id for follow-ups; when omitted, MCP uses the active generated list for this tool chain. | |
| recipient_email | No | ||
| preferences_mode | No | How to apply preferences for this call: 'stored' uses users/{uid}.agentPreferences, 'override' uses agent_preferences only, and 'none' disables stored filtering for this run. | |
| agent_preferences | No | Optional per-call filtering preferences. Use with preferences_mode='override'. For backwards compatibility, passing this without preferences_mode implies override. | |
| use_account_email | No | ||
| confirmation_token | No | Short-lived token from an identical complete preview. Supply only after the user confirms in a later turn. | |
| use_agent_preferences | No |