Set Outreach Approval
set_outreach_approvalsettings is a partial {subtype: requires_approval} map — True holds the
message for the user's approval, False auto-sends. Only the subtypes you name
change. Each subtype key names a message type (e.g. email_first_message); an
unknown key is rejected with the full valid list.
scope:
'this_agent' (default) — change approval for THIS agent only, leaving the account-wide setting and other agents untouched. Needs an agent in context (or an explicit agent_id). This pins the agent to its own approval settings that no longer follow account-wide changes — tell the user that.
'account' — change the account-wide default that governs every agent with no override of its own. An agent that has its own override is unaffected — warn the user that an account change won't reach any agent that has its own override. Available to the account owner only; when acting for a shared operator, use 'this_agent'.
'inherit_account' — clear THIS agent's own approval settings so it follows the account-wide setting again.
settingsis ignored.
Returns {success, scope, settings} — settings is the resulting resolved
map for the level written.
Dict with success, scope, and resulting settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Which level to change. Defaults to 'this_agent'. | this_agent |
| agent_id | No | The agent to change. Defaults to the agent in context. | |
| settings | No | Partial map of subtype -> requires_approval. Omit for scope='inherit_account'. |