View one submission the way the dashboard does
codequiry_view_submissionEverything the dashboard's results page shows for one submission, in one call: its files (the first with content inline), its peer and AI matches with line ranges, its web sources, and a rail of every submission in the check with Group, Web and AI scores. Omit submission_id for the highest-scoring submission. Follow with get_submission_file and get_match_counterpart to read the actual code on both sides of a match.
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": {
"check_id": "<check_id>"
},
"name": "codequiry_view_submission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_id | Yes | The check id returned when the check was created. | |
| submission_id | No | Which submission to load. Omit for the highest-scoring one. |