watchlist_import
Import exact exchange-qualified symbols and section headers into a TradingView watchlist, merging missing entries or replacing order with a verified idempotent write.
Instructions
Import explicit entries without reading arbitrary local files. Merge appends missing entries; replace requires an idempotency key and verifies full requested order after clear-and-append.
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": {
"watchlist_id": "<watchlist_id>",
"entries": "<entries>",
"target_id": "<target_id>",
"expected_layout_id": "<expected_layout_id>"
},
"name": "watchlist_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | merge | |
| dry_run | No | Calculate changes without writing | |
| entries | Yes | ||
| target_id | Yes | Exact Chrome tab target ID from browser_list_tabs. Required for changes. | |
| timeout_ms | No | ||
| watchlist_id | Yes | Exact custom watchlist ID from watchlist_list; names are not IDs. | |
| idempotency_key | No | Unique durable request key. Reuse only to reconcile the same request. | |
| expected_layout_id | Yes | Expected saved-layout ID. A mismatch stops the operation before writing. | |
| expected_entries_sha256 | No | Optional optimistic concurrency guard from watchlist_get. |