Environment doctor
doctorDiagnose React Native development environment health: OS, iOS/Android toolchains, Metro status, and project info. Use first when something fails or before device/build operations.
Instructions
Check the health of the React Native development environment: detected OS, iOS/Android toolchains, Metro status and project info. Call this first when something is failing or before device/build operations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | No | Project root to inspect (default: server --project-root) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ios | Yes | ||
| host | Yes | ||
| metro | Yes | ||
| android | Yes | ||
| project | Yes | ||
| problems | Yes | ||
| restartRequired | Yes |