Change the agent's settings
flow_agent_update_settingsChange the agent settings of the account's agent project (or the projectId given; the agent project is made if the account has none yet). Send at least one of approval, instructions, imageDefaults, videoDefaults. approval auto lets the agent generate (and spend Flow credits) without asking. instructions replaces the whole list. Returns the settings as saved. PUT /agent/settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The Google Flow account email. Optional when the API token has one Flow account. | ||
| approval | No | ask: the agent asks before generating; auto: it generates without asking. | |
| projectId | No | A Flow project id, instead of the account's own agent project ("My Agents Work <date>", made on its first chat). | |
| instructions | No | The project instructions the agent follows in every chat, up to 3; replaces the current list (an empty list clears it). Keep an instruction's id (from flow_agent_get_settings) to edit it in place. | |
| imageDefaults | No | The default image settings the agent uses: model, aspectRatio and count (1-4). | |
| videoDefaults | No | The default video settings the agent uses: model, aspectRatio and count (1-4). |