Wake the ProveTrade analyzer
provetrade_warm_engineWake the sleeping Go analyzer by polling its /health endpoint and wait up to a time budget for it to become ready.
Instructions
Wake the Go analyzer by polling its public /health, and wait for it with a time budget.
IMPORTANT, KNOWN LIMITATION: server-side probes do not reliably wake this service. On production, 72 seconds of probing at 4-second intervals produced no entry in the analyzer's own log; the instance only started when a real browser request arrived, and then took about 38 seconds. So this tool may honestly return still_sleeping even though nothing is broken. When it does, the reliable fallback is to open https://provetrade.com/app in a browser — the page pings the analyzer from the visitor's side for exactly this reason.
Costs no LLM budget, but it does consume free-tier hosting hours. Not read-only: it starts a service. Call it when health reports sleeping, not speculatively.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget_ms | No | How long to keep probing, in milliseconds. Default 90000, hard ceiling 180000. A cold boot measured on production took about 38 seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| woke | Yes | True only if the analyzer answered with a healthy JSON body. | |
| caveat | Yes | The known limitation of programmatic warming. | |
| probes | Yes | How many /health requests were sent. | |
| waited_ms | Yes | Actual elapsed time, not the budget. | |
| last_status | Yes | The last raw classification. 'down' here means unreachable or erroring rather than spun down, which waiting longer will not fix — worth distinguishing from still_sleeping. | |
| final_status | Yes | The two outcomes the caller has to act on. |