automations_create
Create an automation account to distribute incoming balances to pass-through and output destinations, optionally swapping or bridging shares, with no signature required.
Instructions
Create an automation: a new account that distributes every balance it receives without a signature. Pass-through sends a share of each balance as-is to one address on the same chain; each output swaps and/or bridges its share to a token on a chain and sends it to an address. The pass-through percent plus the output percents must equal 100. Use --forwarder for a plain forwarding address. Requires an owner-scoped key.
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": {
"name": "<name>"
},
"name": "automations_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Optional memo | |
| name | Yes | Automation name | |
| outputs | No | JSON array of outputs, each { percent, targetChainId, targetTokenAddress, destinationAddress }. Example: '[{"percent":100,"targetChainId":8453,"targetTokenAddress":"0x8335…","destinationAddress":"0x…"}]' | |
| slippage | No | Maximum slippage for swaps and bridges, in basis points. Defaults to 150, like the web app. | |
| forwarder | No | Forward 100% of every balance, as-is, to this address. Cannot be combined with the pass-through or output options. | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. | |
| passThroughPercent | No | Percent of each balance sent as-is to the pass-through destination. Defaults to 100 minus the output percents. | |
| minimumThresholdUsd | No | Smallest balance, in USD, that triggers a run. Defaults to 5, like the web app. | |
| passThroughDestinationAddress | No | Address that receives the pass-through share. Required without --forwarder, even when the pass-through percent is 0; the web app uses the same address as the outputs. |