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
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": {
"componentName": "<componentName>",
"propsToCheck": "<propsToCheck>"
},
"name": "validate_component_props"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentName | Yes | Name of the component to validate | |
| propsToCheck | Yes | Array of prop names to validate |