Update Inbox Agent
update-inbox-agentUpdate a Resend inbox AI agent's instructions, tone, and allowed actions. Omitted fields keep current values; actions replace the full set, so include all to keep enabled.
Instructions
Update the AI agent settings of a Resend inbox: the instructions the agent follows, the tone it writes in, and/or the actions it is allowed to take on the inbox's threads. At least one of the three is required. A field left out keeps its current value, and "actions" replaces the whole set when passed, so include every action that should stay enabled. Use get-inbox-agent to read the current settings first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tone | No | Tone the agent writes in, one of concise_professional, concise_casual, expanded_professional, expanded_casual. Pass null to clear it. | |
| actions | No | Actions the agent is allowed to take, replacing the current set. Pass every action that should stay enabled; pass an empty array to disable them all. Duplicates are removed. | |
| inboxId | Yes | Inbox ID, or the inbox email address (e.g. "support@example.com"). Not the Resend receiving address. | |
| instructions | No | Instructions the agent follows when handling the inbox's threads. Pass null to clear them. Max 4000 characters. |