agent_feedback
agent_feedbackRate a prior Mako tool run using grades (full, partial, no) and reason codes to mark notable success, failure, or wrong results. Use sparingly for significant outcomes only.
Instructions
Append-only feedback tool for rating a prior Mako tool run from the agent perspective. Use sparingly when a result was notably good, notably bad, or wrong; do not emit routine feedback after every call. Requires referencedToolName and referencedRequestId so each row is tied to a specific prior run. Grade semantics: full = helped complete the task, partial = somewhat useful but flawed, no = wrong or wasted the turn. Starter reason codes: full: answer_complete, evidence_sufficient, trust_matches; partial: partial_coverage, noisy, stale_evidence, missing_known_caller, top_not_useful; no: answer_wrong, wasted_turn, tool_did_nothing, schema_missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| referencedToolName | Yes | ||
| referencedRequestId | Yes | ||
| grade | Yes | ||
| reasonCodes | Yes | ||
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | ||
| projectId | Yes | ||
| eventId | Yes | ||
| capturedAt | Yes | ||
| _hints | Yes |