capture_start
Starts a background job that captures charts from a TradingView Desktop layout into a target folder and returns a job ID immediately; optionally loads historical data first.
Instructions
Start capturing TradingView codes from one TradingView Desktop layout into output_dir. Returns a job id at once. history_from (YYYY-MM-DD, optional) first loads each chart's history back to 00:00 UTC on that date, or as far as TradingView goes.
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": {
"layout": "<layout>",
"symbols": "<symbols>",
"output_dir": "<output_dir>"
},
"name": "capture_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | Yes | ||
| symbols | Yes | ||
| timeframe | No | 1D | |
| output_dir | Yes | ||
| history_from | No | ||
| required_studies | No | ||
| ready_timeout_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||