Test draft agent
probe_agentSend a test message to a draft and get the real runtime's reply (billed as a test run). With trace=true a WORKFLOW draft also returns its per-node trace: the ordered steps and routes the run took, each step's status (succeeded/handled_error/failed/waiting/unfinished), duration, fields written, tools called and a closed error_kind — plus trace_summary (failed / handled_errors / unfinished) and paused when it stopped at an approval node (never resumed). A non-workflow agent returns an empty trace with a trace_note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace | No | Also return the workflow per-node trace (default false). Does not change the run or its billing. | |
| message | Yes | The user message to send to the draft. | |
| agent_id | Yes | Id of the draft agent to test. |