record_trajectory_feedback
Record accept, reject, undo, or correction feedback for a captured trajectory step to capture user reactions for evaluation.
Instructions
Record evaluation feedback for a captured trajectory step.
Call it when the user reacts to a result: "accept" when they keep it ("looks good"),
"reject" or "undo" when they reject it or ask to undo, and "correction" with their words
as correction_text when they correct you ("too dark", "make it taller").
Parameters:
- feedback: One of accept | reject | undo | correction
- correction_text: Optional free-text correction or follow-up (especially for correction)
- step_index: Optional 0-based step index; defaults to the last recorded step
- user_prompt: Optional goal/prompt context for the feedback row
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": {
"feedback": "<feedback>"
},
"name": "record_trajectory_feedback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedback | Yes | ||
| step_index | No | ||
| user_prompt | No | ||
| correction_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |