Ask the draft Agent
agent_askAsks the current draft one ad hoc question, as the dashboard preview does.
Uses the monthly test allowance and records a test result; nothing reaches a customer and simulated actions are not performed. conversation_id from a previous answer continues that preview while the draft is unchanged; history_reset reports a fresh start. A lost response is a new attempt on retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Ad hoc question for the current draft Agent preview; no customer message is sent. | |
| agent_id | Yes | Agent ID from agents_list or agent_create. | |
| conversation_id | No | Preview conversation ID from agent_ask; null starts a new preview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| answer | No | ||
| status | Yes | ||
| agent_id | Yes | ||
| evidence | No | ||
| recovery | Yes | ||
| persistence | No | ||
| history_reset | No | ||
| conversation_id | No |