Ask Lightbringer’s agent
ask_agentSends a follow-up, in the user's words, to a completed journey conversation, or one that needs attention (task_id from start_journey), and returns the conversation task. The agent keeps everything it worked out, which suits a revision, another output or a question about what it did. Start new work with start_journey. A conversation task is running (the agent works; get_task_status waits for the status to change), awaiting_input (open questions: answer_agent says who answers them), needs_attention (stopped for a reason a question does not cover; open url), completed (idle, not over: ask_agent continues it) or cancelled. 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.
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>",
"message": "<message>"
},
"name": "ask_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | What the user wants done, in their words | |
| task_id | Yes | task_id of a completed journey conversation, or one that needs attention, to continue |
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. |