Check remaining drawdown room
check_drawdownRemaining daily-loss and max-drawdown room in dollars for an account, the binding limit and breach flags, computed with the same model as the FloorGuard calculator. Same inputs as GET /api/v1/check.
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": {
"program": "<program>",
"accountSize": "<accountSize>",
"currentEquity": "<currentEquity>"
},
"name": "check_drawdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program | Yes | Program id from /api/v1/firms, e.g. ftmo_2step | |
| todayPnl | No | Today's P&L since the firm's daily reset, closed + open (default 0) | |
| accountSize | Yes | Nominal account size, e.g. 100000 (must be one of the program sizes when the rule is a fixed $ amount per size) | |
| currentEquity | Yes | Current equity including open P&L | |
| highWaterMark | No | Peak the firm trails from (highest EOD balance / closed balance / intraday equity, per program mode). Default: computed like the site calculator | |
| currentBalance | No | Current closed balance (default: currentEquity) | |
| customDailyLoss | No | Your own daily loss limit in $ for programs without one (e.g. Topstep optional DLL) | |
| dayStartBalance | No | Balance at the daily reset, if positions were held through it (default: currentEquity - todayPnl) | |
| startingBalance | No | Initial balance the percentages apply to (default: accountSize) |