submit_feedback
Rate and comment on generated UI components to help UIForge learn your preferences and enhance future generations.
Instructions
Submit feedback on a previously generated UI component or page template. This helps UIForge learn your preferences and improve future generations.
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": {
"generation_id": "<generation_id>",
"rating": "<rating>",
"feedback_type": "<feedback_type>"
},
"name": "submit_feedback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| generation_id | Yes | The ID of the generation to provide feedback for | |
| rating | Yes | Rating from 1 (poor) to 10 (excellent) | |
| feedback_type | Yes | Type of feedback: explicit (user-provided) or implicit (behavior-based) | |
| comments | No | Optional detailed feedback comments | |
| issues | No | List of identified issues in the generated component | |
| strengths | No | List of identified strengths in the generated component | |
| component_type | No | Type of component (e.g., button, form, layout) | |
| framework | No | Target framework (e.g., react, vue, svelte) |