Answer Lightbringer’s agent
answer_agentSends answers to a conversation that is awaiting_input, and the agent continues. In a journey conversation (journey is set), the questions come to you before the user: answer each from what you already know of the user and this conversation, and ask the user only what you cannot answer. Put a question that starts "For the user:" to the user without rewording it, and send their answer. When you answer for the user, tell them what you answered when you next report to them. In any other conversation the questions are the user’s: put them to the user and send the user’s answers. Answer every pending question in one call: selected_options carries the option labels from get_task_status, free_text an answer in words, and skip means the question is declined. Sending the same answer to a journey question again changes nothing. A different answer to a question that has an answer is refused; tell the user which answer counts. A completed conversation takes a follow-up with ask_agent instead. An open conversation reaches the user only when the host reads it again. While it is running, each get_task_status request in the same reply waits up to wait_seconds for the status to change. A reply that ends while it runs tells the user that the agent continues. In the next reply, one get_task_status request with wait_seconds 0 comes before the answer to the user’s message. More requests follow the answer until the status changes. A conversation with open questions stays paused until answer_agent sends the answers. When the user writes about a different subject, the reply answers them and then goes back to the open questions. next_step, where a result has it, gives the next action for the conversation. Returns the conversation task.
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": {
"task_id": "<task_id>",
"answers": "<answers>"
},
"name": "answer_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | Yes | ||
| task_id | Yes | task_id of a conversation that is awaiting_input |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | ||
| type | Yes | ||
| status | Yes | ||
| journey | No | The journey this conversation follows; null for a conversation that is not a journey. | |
| outputs | Yes | ||
| task_id | Yes | ||
| activity | No | While running, what the agent is doing now; null otherwise. Relay it to the user rather than guessing. | |
| next_step | No | What to do next with this conversation | |
| questions | Yes | ||
| created_at | No | ||
| expires_at | No | ||
| updated_at | Yes | ||
| model_class | No | The model class the conversation is set to. Out of credits a turn still runs on basic. | |
| invention_id | Yes | ||
| last_message | No | ||
| reasoning_effort | No | The reasoning effort the conversation is set to. |