validate-api
Verify an API symbol exists in React Native libraries by checking node_modules first and falling back to the documentation index.
Instructions
Fast validation if a symbol exists, checking node_modules first then docs index
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": {
"library": "<library>",
"symbol": "<symbol>"
},
"name": "validate-api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Current working directory | |
| symbol | Yes | The API symbol to check (e.g., 'View', 'FlatList', 'useNavigation') | |
| library | Yes |