ami_submit_survey
Submit survey results by providing a grade, justification, and evidence artifacts; persist them as JSON, Markdown, and CSV index, returning file paths.
Instructions
Submit and persist the survey. Requires a grade from the AMI grading scale, a justification, and evidence (the concrete artifacts produced). Writes JSON + Markdown + a CSV index row to disk and returns the paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grader | No | 'self' when the agent grades its own output, 'human' or 'external_reviewer' when a person supplied the grade. | |
| run_id | No | ||
| workflow_name | No | ||
| grade_evidence | Yes | Concrete artifacts being graded: file paths, ticket ids, message ids, tool outputs. | |
| workflow_end_time | No | ||
| agent_output_grade | Yes | A grade code from ami_get_grading_scale. | |
| grade_justification | Yes | Why that grade, measured against the workflow's stated requirements. At least 40 characters. | |
| workflow_description | No | ||
| allow_empty_telemetry | No | Only for deliberately unmeasured runs; measurement fields will be null. |