next
Run a suggested follow-up step by its number from a result's suggestion line instead of composing the call manually. Provide the result ID and one or more choice numbers.
Instructions
Run a suggested next step by its number instead of composing the call: some results end with ↪ r7 possible next: [1] … [2] … (only when the server runs with --next). Use it only if a suggestion fits your task; otherwise ignore the line. Example: {"result_id": "r7", "choice": 1} or {"result_id": "r7", "choice": [1, 3]}. Ids are per project and expire after 24 hours.
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": {
"result_id": "<result_id>",
"choice": "<choice>"
},
"name": "next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| choice | Yes | Which suggestion(s): `1`, `"1"`, `"1,3"` or `[1, 3]`. | |
| project | No | Registered project alias (the one the result came from); default: the server's working directory. | |
| result_id | Yes | The result id from the `↪ rN …` line, e.g. `"r7"`. |