Next step
next_stepHands in a GitRanks Build step, in two calls. Use it once the person tried the step: first with tried true, which answers the step's check (and its question when questions are on); then with the check's whole output and what the person picked. Answers the next step, or the same step with what went wrong and what to do. Refused as invalid_input when the check comes before the try, or a pick is missing or names two options. Rule: send the check's output whole and unchanged, never piped or shortened, and never pick for the person.
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": {
"buildId": "<buildId>",
"step": "<step>"
},
"name": "next_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | The slug of the step the person tried, as its answer named it | |
| check | No | The check's whole output, exactly as printed, never cut or piped | |
| tried | No | true once the person tried the step: answers its check, and its question when questions are on | |
| answer | No | When questions are on, exactly what the person picked: their letter, e.g. 'B', or "I don't know" | |
| buildId | Yes | The build's buildId (24 hex characters), as its start answered it or .gitranks/build.json holds it |