watchlist_import
Import symbols into a TradingView watchlist from a JSON file. Merge or replace existing entries, with a dry-run option to preview changes.
Instructions
Import symbols into the TradingView watchlist from a JSON file
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": {
"file_path": "<file_path>"
},
"name": "watchlist_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | merge = add missing symbols; replace = sync list to file | merge |
| dry_run | No | Preview changes without modifying the watchlist | |
| file_path | Yes | Path to the JSON file previously exported by watchlist_export |