Strategy Broker Log
tt_get_strategy_broker_logRead the BROKER LOG (broker-adapter daemon) for ONE of the signed-in user's strategies — the layer BELOW the engine notification log. Where tt_get_strategy_notifications shows what the engine decided, this shows what the BROKER actually did: order placement, the broker API request/response, order-status polling (OPEN/COMPLETE/REJECTED), modify/retry loops, and broker-side failures (RMS / margin / token / auth rejections). Use it when a strategy errored but the engine log is clean — the failure is usually at the broker.
Returns the raw broker lines plus extracted broker_hosts, orders placed ({symbol, price}), distinct order_statuses, and the ERROR/rejection lines (the broker-side reason).
AUTH-REQUIRED and OWNERSHIP-GATED + fail-closed, identical to tt_get_strategy_notifications: the SID is reverse-looked-up against the caller's account first; not theirs (or an inconclusive lookup) ⇒ REFUSE.
strategy_id is the deployed strategy id (SID); resolve via
tt_get_my_deployed_strategies if the user names a strategy.
window_minutes is the lookback (default 60, max 1440).
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": {
"strategy_id": "<strategy_id>"
},
"name": "tt_get_strategy_broker_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_id | Yes | ||
| window_minutes | No | Log lookback in minutes, 1..1440. Default 60. A larger value is clamped to 1440; below the minimum is refused. |