Strategy Notifications
tt_get_strategy_notificationsRead the ENGINE NOTIFICATION LOG for ONE of the signed-in
user's strategies — the deepest source for "why is my strategy in
error / why didn't it trade / what did the engine actually do?". Returns
the raw per-SID engine messages (position entries/exits, status
transitions, tracebacks, broker rejections, blocks) plus an extracted
errors list (the human reason a deployment erred).
Goes deeper than tt_get_my_deployed_strategy_detail: that reads TT's summarised /ai state; THIS reads the engine's own debug stream. Reach for it when the detail view's events don't explain the error.
AUTH-REQUIRED and OWNERSHIP-GATED + fail-closed: before reading anything the SID is reverse-looked-up against the caller's account (must be their deployment OR a template they created). If it isn't theirs — or the ownership lookup itself fails — the tool REFUSES and reads nothing. Do not present this as a way to inspect arbitrary strategies.
strategy_id is the deployed strategy id (SID); if the user names a
strategy, resolve the id via tt_get_my_deployed_strategies first.
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_notifications"
}
}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. |