Check a prop challenge account
check_challengeApplies prop firm challenge rules to an account and returns passed, failed, or on-track with the reason, plus USD left to target, left to lose today, and above the drawdown floor.
Instructions
Applies a prop firm's challenge rules to an account and returns passed / failed / on-track, the reason, and the USD left to the target, left to lose today and above the drawdown floor. Daily loss is measured from the day's starting equity; a trailing floor follows the equity high and stops at the starting balance. Offline, same code as the Leverra rule checker.
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": {
"rules": "<rules>",
"equity": "<equity>",
"day_start": "<day_start>",
"peak": "<peak>",
"days": "<days>"
},
"name": "check_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Trading days done. | |
| peak | Yes | Highest equity so far, USD. | |
| rules | Yes | Either { preset } or every field from size to min_days. | |
| equity | Yes | Equity now, USD. | |
| day_start | Yes | Equity at the start of today, USD. |