validate_component_props
Verify if specified properties exist for a component to prevent hallucination by cross-checking with @props observations using Memory MCP Server.
Instructions
Validate component props to prevent hallucination. Checks if props exist in @props observations
Input Schema
Name | Required | Description | Default |
---|---|---|---|
componentName | Yes | Name of the component to validate | |
propsToCheck | Yes | Array of prop names to validate |
Input Schema (JSON Schema)
{
"properties": {
"componentName": {
"description": "Name of the component to validate",
"type": "string"
},
"propsToCheck": {
"description": "Array of prop names to validate",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"componentName",
"propsToCheck"
],
"type": "object"
}