set_ooda_consent
Opt in/out of the wake-on-condition worker.
Default OFF. When opted in, a triggered alert may run a metered background check (Haiku triage, escalating to Sonnet only if worth a closer look) and propose one action. daily_wake_budget (default 10, 1-500) hard-caps metered wakes per day. The worker never executes -- every proposal is approved in your own wallet. See get_ooda_status for wake history including skipped wakes.
Usage-vs-fee-revenue kill threshold: wakes auto-suspend if inference spend over kill_window_days (default 30 days) exceeds kill_threshold_ratio (default "0.5") of attributed fee revenue. kill_threshold_enabled lets you disable the check for this wallet; kill_threshold_ratio is a decimal string. All three are optional -- omit to leave the existing/default value untouched. See get_ooda_status for whether/why a wallet was auto-killed (kill_switched_at, kill_reason).
Workflow: consent step -- run once (or to change budget/kill config) before wakes can fire; check get_ooda_status afterward to confirm state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opted_in | Yes | ||
| caller_id | No | ||
| wallet_address | Yes | ||
| kill_window_days | No | ||
| daily_wake_budget | No | ||
| kill_threshold_ratio | No | ||
| kill_threshold_enabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||