Broker daily snapshots
broker_snapshotsRead stored daily broker snapshot automation data. For realtime holdings use get_broker_positions. action="run_now" requests a fresh no-trade snapshot for the saved account and starts read-only snapshot compute.
Set "action" to choose the operation. Only send the fields listed for that action.
action="list": List broker daily snapshots
No other fields required. Lists the authenticated user's daily broker snapshot automation metadata and latest sanitized telemetry. Each broker credential has a deterministic snapshot bot id. Returned data can include accountDisplay (a safe label such as 'Account ending in 4821'), lifecycle status, last run status, latest portfolio value, cash, positions count, and timestamps. Never infer an account suffix from brokerCredentialId. Raw broker credentials and full account numbers are never returned. This is not the only source of position evidence. If this returns no accounts, no positions, stale data, or unavailable telemetry while the user asked for actual positions/holdings, continue with list_deployments(status="running", limit=50) and get_deployment_position_telemetry before concluding no live-bot positions are available.
action="portfolio": Get broker snapshot portfolio series
Required fields: brokerCredentialId. Returns portfolio-value snapshot data for one saved broker credential owned by the authenticated user. Use broker_snapshots(action="list") first to find brokerCredentialId and snapshot status. Raw broker credentials are never returned.
action="positions": Get broker snapshot positions
No other fields required. Returns stored normalized position snapshot data for saved broker snapshot automation. Use this only when the user explicitly asks about snapshot history, snapshot status, or stored snapshot diagnostics. For realtime holdings questions like 'how much Tesla stock do I own?', use get_broker_positions with symbol=TSLA. Use broker_snapshots(action="list") first to find brokerCredentialId and snapshot status. brokerCredentialId is optional. For all linked broker accounts, all broker positions, or 'not just the count' across accounts, prefer one aggregate call with brokerCredentialId omitted instead of many parallel per-account calls; the aggregate result preserves brokerCredentialId, accountDisplay, botId, broker, paperOrLive, positions[], and results[] so account-to-position mapping stays intact. Use accountDisplay in user-facing account labels and never infer an account suffix from brokerCredentialId. Raw broker credentials and full account numbers are never returned. If broker snapshot positions are empty, stale, or unavailable and the user asked for actual positions/holdings, continue with live-bot evidence through list_deployments(status="running", limit=50) and get_deployment_position_telemetry. Empty broker snapshots do not prove running deployments have no positions.
action="diagnostics": Get broker snapshot diagnostics
Required fields: brokerCredentialId. Read-only diagnostics for one broker snapshot automation owned by the authenticated user. Returns Node snapshot identity/latest telemetry, sanitized Bot Manager scheduled/ECS status, and optionally recent sanitized logs. Use this when broker_snapshots(action="list") shows setup pending, pending last run, no latest snapshot, or failed status. Raw broker credentials, Vault ids, runtime secret ARNs, and secret values are never returned.
action="run_now": Run broker snapshot now
Required fields: brokerCredentialId. Requests one immediate no-trade portfolio snapshot run for a saved broker credential owned by the authenticated user. This starts read-only snapshot compute through Bot Manager and the normal Vault-backed runtime secret path. It does not accept or return raw broker credentials, Vault ids, runtime secret ARNs, API keys, raw runtime configuration, or inline code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Used with action="portfolio". | |
| sort | No | Used with action="positions". | |
| limit | No | Used with action="portfolio", action="positions". | |
| start | No | Used with action="portfolio". | |
| action | Yes | Which operation to run: "list", "portfolio", "positions", "diagnostics", "run_now". See the tool description for each one. | |
| symbol | No | Used with action="positions". | |
| history | No | Used with action="positions". | |
| logLimit | No | Used with action="diagnostics". | |
| frequency | No | Used with action="portfolio". | |
| includeLogs | No | Used with action="diagnostics". | |
| brokerCredentialId | No | Used with action="portfolio", action="diagnostics", action="run_now", action="positions". Required for action="portfolio", action="diagnostics", action="run_now". |