Update Auto Sell Setting
tronsave_update_auto_sell_settingUpdate selected fields in an existing TronSave auto-sell setup, adjusting energy and bandwidth prices, delegation rules, staking, and payouts while leaving omitted settings unchanged.
Instructions
Update the existing auto-sell configuration with partial fields. Returns the updated autoSettings payload. Side effect: overwrites stored automation settings for the current user; not idempotent across different field sets. Requires a wallet signature identity. Use for INCREMENTAL changes after registration; read the baseline via tronsave_get_user_auto_setting to avoid accidental resets, and use tronsave_register_auto_sell only for first-time setup. Fails for invalid field combinations, unauthorized sessions, or policy constraints.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tronsave_update_auto_sell_setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolSetting | No | What the wallet sells automatically: per-resource price floor, duration bounds, minimum amount, reserve, and reclaim scope. | |
| addOnFeature | No | Optional extras: voting, auto-stake of idle TRX, suggest-sell hints. | |
| paymentConfig | No | Where and how often seller earnings are paid out (address, DAILY/IMMEDIATE, payout window). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing. | |
| data | No | Opaque server-defined payload (tx id, setting id, or status text). Treat as identifier-or-message; rely on `message` for human routing. | |
| message | No | Human-readable status text. Populated even on success; localized error messages may appear here on failure. | |
| success | No | Whether the mutation succeeded at the backend level. Always check this before reading `data`. |