Edit Signal Bridge basket
tt_update_signal_bridgeAdd or remove symbols (stocks, futures, crypto, option rules) in an existing Signal Bridge, and optionally rename it. The template is edited IN PLACE: the template id and the linked API token stay the same, so the user's existing client and signal links keep working.
Settings (exchange, capital, session, exit minutes, working days, intraday, products, expiry-day exit) are kept from the stored template, and every Initialize Variables value the user tuned (master target/SL, caps, per-symbol sizing of symbols that stay) is carried over. New symbols get the defaults.
Refuses with BRIDGE_DEPLOYED while the strategy is deployed, has subscribers or is public: the rebuild replaces every set, so a running deployment would lose track of its open positions. Tell the user to stop and exit the deployment first, then edit — nothing was changed. BRIDGE_NOT_FOUND = not one of the user's Signal Bridges.
CONFIRM the new basket with the user first (dry_run=true shows it). Returns what tt_create_signal_bridge returns (template_id, basket, auth_token, python_client, signal_links, guide_markdown, ...) plus changed.added_symbols / removed_symbols and the kept settings. Tell the user what was added and removed; give python_client unchanged if they want the updated client (it carries their own token: hand it over once and do not repeat it later). AUTH-REQUIRED.
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": {
"template_id": "<template_id>",
"symbols": "<symbols>"
},
"name": "tt_update_signal_bridge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name; empty keeps the current one. | |
| dry_run | No | Show the new basket and what changes; write nothing. | |
| symbols | Yes | The FULL new basket (not just the changes), in the same forms as tt_create_signal_bridge: 'EXCHANGE:SYMBOL' / plain symbols, or option objects {"symbol", "option": "CE"|"PE", "strike", "expiry", "exchange"?}. The `basket` items a create or update returned are accepted as-is. | |
| exchange | No | Default exchange for symbols written without a prefix. Defaults to the bridge's own exchange. | |
| template_id | Yes | The Signal Bridge's TEMPLATE id (not a deployment id). |