propose_automation
Propose an automation: when a condition is met, alert the user or open a prefilled trade for them to confirm. A custom signal rule (signal_rule) is a condition tree over catalog signals, never free text; call with previewOnly first and read the returned readback, dry run and conflicts back to the user. An alert is active right away, with no approval and no paymentRequestId. A trade needs approval in the Moneda app within 3 days; poll get_payment_status with the returned paymentRequestId. The 90-day window counts from the proposal. AUTONOMOUS is not available.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trigger": "<trigger>",
"action": "<action>"
},
"name": "propose_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Short name the user sees | |
| action | Yes | alert | buy_stock | sell_stock | buy_crypto | sell_crypto | move_to_earnings | |
| maxRuns | No | ||
| trigger | Yes | Phase 1 triggers (price_above, price_below, pct_up, pct_down, trailing, schedule, earnings_soon, portfolio_up, portfolio_down) or signal_rule: { rule, tickers } where asset 0 is market-wide and asset k is tickers[k-1] (e.g. INTC, FALABELLA.SN). | |
| expiresAt | No | ||
| promptText | No | The user's request, verbatim | |
| maxTotalUsd | No | ||
| previewOnly | No | signal_rule only: readback, dry run and conflicts; nothing is created | |
| approvalMode | No | Trades are always confirmed one by one in the app | |
| maxPerActionUsd | No | ||
| conflictResolution | No | signal_rule only: the user's answer when the readback listed conflicts |