dsh_answer
Submit answers to questions from a waiting run—choose options, enter text, or skip—so the run can resume once every question is answered.
Instructions
Submit the user's answer to the questions a waiting run asked (needs_input in dsh_wait or dsh_status). Ask the user (your own question tool, or a message), your recommendation first if you have one, and submit their answer. Per question: choose (option numbers or labels), text (an answer in words), or skip. It reaches Harness once every question has an answer (submitted: true; remaining lists the rest); then wait again. If the user already answered in Harness, it says there is no open question.
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": {
"answers": "<answers>"
},
"name": "dsh_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | Run id that is waiting (needs_input: answer) | |
| answers | Yes | One entry per question answered now | |
| session_id | No | Instead of run_id: the session a follow wait (dsh_wait with session_id) reported the question for |