{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates the agent settings of the inbox. The agent is created when the inbox has none. Omitted fields keep their current value.","properties":{"path":{"type":"object","properties":{"inbox_id":{"type":"string","examples":["b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"],"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any other value must be a UUID, or the request returns a 422. The address match is case-insensitive and never falls back to the inbox `name`. An address that matches no inbox returns a 404."}},"required":["inbox_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/UpdateInboxAgentOptions"}},"required":["path","body"],"additionalProperties":false,"definitions":{"UpdateInboxAgentOptions":{"type":"object","anyOf":[{"required":["instructions"]},{"required":["tone"]},{"required":["actions"]}],"description":"At least one of `instructions`, `tone`, or `actions` must be provided. Omitted fields keep their current value.","properties":{"instructions":{"type":["string","null"],"minLength":1,"maxLength":4000,"description":"Instructions the agent follows when it handles the threads of the inbox. Max 4000 characters. Leading and trailing whitespace is trimmed, and the trimmed value must not be empty. Send null to clear the instructions.","examples":["Answer refund questions yourself. Escalate legal threats."]},"tone":{"type":["string","null"],"enum":["concise_professional","concise_casual","expanded_professional","expanded_casual",null],"description":"The tone the agent writes in. Send null to clear the tone.","examples":["concise_professional"]},"actions":{"type":"array","description":"The actions the agent can take. Replaces the whole set. Duplicates are removed. Send an empty array to disable all actions. The old names `archive_thread` and `delete_thread` return a 422. Use `archive` and `move_to_trash`.","items":{"type":"string","enum":["draft_reply","forward_thread","add_labels","assign_thread","mark_as_spam","archive","move_to_trash"]},"examples":[["draft_reply","add_labels"]]}}}}},"name":"Update the agent settings for an inbox","id":"resend.inboxes.update-agent","example":{"path":{"inbox_id":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"},"body":{"instructions":"Answer refund questions yourself. Escalate legal threats."}},"maxRequests":1,"summary":false}}