dsh_answer
Submits answers to a waiting run's questions—choose options, add text, or skip—then resumes the wait. Use it to relay user decisions or decide as task owner when allowed.
Instructions
Answer the questions a waiting run asked (needs_input in dsh_wait or dsh_status). If the user told you to decide such questions yourself, decide as the task's owner: an option only if it fits as is, else your own words. On a single choice, text replaces the option. Call dsh_answer with a one-sentence reason, then tell the user what you answered and why. Otherwise relay the questions, starting with your advice on its own line: "My recommendation: <an option, or your own answer>, because ", from your own judgment, even outside the options (harness_suggested is only the asker's pick, never a reason). List the options (the user may also answer in words) and submit their decision with dsh_answer. Never answer on the user's behalf without that permission. Per question: choose (option numbers or labels), text (your own answer, complete on its own), 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 |
|---|---|---|---|
| reason | No | Required when the user let you decide: one sentence on why you chose this, from your own judgment of the question and the task; it is returned for you to tell the user and not sent to Harness | |
| 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 |