record_feedback
Log an outcome/correction as a learning signal. Required: agent_id, subject_type ('episode'|'event'|'todo'|'tool_call'|'message'), signal ('approved'|'rejected'|'corrected'|'rated'|'edited'). Optional: subject_id, correction (the fix — highest-value), rating (1-5), source.
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": {
"agent_id": "<agent_id>",
"subject_type": "<subject_type>",
"signal": "<signal>"
},
"name": "record_feedback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | No | Rating from 1 to 5 | |
| signal | Yes | Kind of feedback: approved, rejected, corrected, rated or edited | |
| source | No | Origin of the feedback (default user) | |
| agent_id | Yes | ID of the agent | |
| correction | No | The corrected version or fix | |
| subject_id | No | ID of the subject record | |
| subject_type | Yes | What the feedback is about: episode, event, todo, tool_call or message |