Correct a feedback note
update_feedbackReplace an existing feedback item with corrected text. To remove an item without replacing it, use remove_feedback; to add new feedback, use record_feedback.
The call removes the earlier item. Use a feedback_id from a prior
list_feedback result. Do not guess or reconstruct an id; it identifies
the item this call removes.
Report redaction_outcome and reach. 'already_redacted' means the item
was gone before the call. 'failed' means it remains after a removal
failure. Describe that outcome to the user.
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_id": "<feedback_id>",
"content": "<content>"
},
"name": "update_feedback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The correction the user expressed in their current message, in their own words. Carry over earlier text when the user asked to merge it. | |
| stage_id | No | Which analysis stage the replacement belongs to. Omit to inherit the stage of the item being corrected. | |
| project_id | No | Project ID (provide either project_id or project_name) | |
| feedback_id | Yes | Identifier of the feedback item to replace, from a list_feedback result. | |
| project_name | No | Project name (provide either project_id or project_name) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | True when the call itself failed. False for successful calls, including a scan still running, an already approved plan, or a repository classified as non-agentic. The reason field describes these workflow states. | |
| reach | No | Meaningful when redaction_outcome is 'redacted'. 'not_yet_read': the earlier version was unread, so the next analysis uses the correction. 'may_have_been_read': a scan may have read the earlier version and will finish with it; the correction applies from the next run. Neither value confirms retraction from an analysis already running. | |
| reason | No | A stable snake_case code from the allowed set. Present on every error and on successful calls that carry a workflow state. | |
| item_id | No | Lasting identifier of the item. It stays the same across corrections. | |
| message | No | Exactly one sentence written for the user. Never raw exception text or a backend error string, which may expose private details. | |
| version | No | Version of the item this call wrote, one above the earlier item's. | |
| metadata | No | Caller metadata, such as 'expiration_warning'. Substantive results have their own fields. Never includes exception or backend error text, which may expose private details. | |
| next_steps | No | Recommended next actions, in order. | |
| feedback_id | No | Identifier of the new item that replaces the earlier one. | |
| redaction_outcome | No | Outcome for the earlier item. 'redacted': this call removed it. 'already_redacted': it was removed before this call, so list the project's feedback to check for an existing replacement before recording more. 'failed': removal failed and the item remains; remove_feedback can remove it separately. | |
| retry_after_seconds | No | With reason rate_limited, how many seconds Trent asks the caller to wait. | |
| replaced_feedback_id | No | Identifier of the earlier item this correction replaces. |