detect_race_conditions
Scan project code for race conditions, including useState-after-await, missing AbortController, forEach-await, TOCTOU file ops, DispatchQueue races, and Flow dispatcher mismatches.
Instructions
[mode: real, v3.1.0] Stand-alone race-condition detector — useState-after-await, missing AbortController, forEach-await, TOCTOU file ops, DispatchQueue races, Flow dispatcher mismatches.
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": {
"projectPath": "<projectPath>"
},
"name": "detect_race_conditions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | ||
| projectPath | Yes |