set_timeframe
Change the open TradingView chart timeframe to a specified interval, then restore the prior setting afterward.
Instructions
Change the chart timeframe (1, 5, 15, 60, 240, D, W). Set it back afterwards.
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": {
"resolution": "<resolution>"
},
"name": "set_timeframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resolution | Yes |