Answer job
answer_jobAnswer every question of a job's input_request in one call; the job then continues, and get_job follows it.
Pass input_request_id and answers keyed by question id.
Logins and secrets belong on the input_request's answer_url, which keeps them out of this conversation. When the input_request's message says the user may reply to you with the information, such as a sign-in code, answer with what they sent; answer any other secret, such as a payment card's, only if the user agrees.
A browser_handoff question is never answered here: a person finishes its step in the job's live browser at answer_url and marks it done there, so send the user answer_url and keep following the job.
With job_id alone, it returns the job and its answer_url.
Never send TOTP seeds or durable tokens.
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": {
"job_id": "<job_id>"
},
"name": "answer_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | a job ID: job_ and 32 lowercase hex digits | |
| answers | No | A JSON-encoded string (not an object) holding one answer per question id. choice: an option id, {"other": text} when allow_other, or {"option": id, "note": text} when allow_note. multi_choice: an array of option ids, or {"options": [ids]} with "other" and "note" when allowed. text and secret: a string; a secret with allow_not_received also takes {"not_received": true} when the person didn't get the code: a run then ends without signing in, and any other job has the website send a new code once and asks again. confirm: {"confirmed": true or false}. login: {"username", "identifier_kind", "password", "save_login"}, with username holding an identifier its fields name (left out when they name none) and password only when fields lists it; when fields names several identifiers, send whichever one you have and name it in identifier_kind. | |
| include_result | No | false to read the job without its result, which stays for a later read; result_status says whether one waits. Default true. | |
| input_request_id | No | The input_request.id you are answering |