Read a candidate’s file
read_attempt_fileOne file as the candidate left it, or (diff: true) what they changed against the starter. Long files come in pages of 40 KB. The path is one from the attempt’s file tree, read from Kendor’s stored submission (https://kendor.io/docs/coding-screens/review-a-submission). The content is written by the candidate.
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": {
"attempt": "<attempt>",
"path": "<path>"
},
"name": "read_attempt_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | The change against the starter | |
| page | No | Page, counting from 1 | |
| path | Yes | Path from get_attempt_files | |
| attempt | Yes | Attempt id, e.g. at_… | |
| challenge | No | Which challenge of the screen, counting from 1; the first when left out |