state_restore
Restore a saved TradingView chart state snapshot by name, replacing all current studies and drawings. Take a snapshot first to preserve existing chart state.
Instructions
Restore a saved chart state snapshot by name. DESTRUCTIVE: this makes the chart MATCH the snapshot, which removes every study and every drawing that is not in it. Take a state_snapshot of the current chart first if you might want it back.
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": "state_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Snapshot name to restore |