validate_props
Validates that a props object is correctly used for a specified PrimeReact component, helping catch incorrect prop usage before implementation.
Instructions
Validate if props exist and are correctly used for a PrimeReact component
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": {
"component": "<component>",
"props": "<props>"
},
"name": "validate_props"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| props | Yes | Props object to validate | |
| component | Yes | Component name |