get_agent_execution_trace
Retrieve an ordered timeline for a Now Assist/Otto AI agent run using its execution plan sys_id, including tasks, messages, and tool call request/response details for debugging.
Instructions
Get an ordered timeline for one Otto / Now Assist AI agent run: the execution plan (sn_aia_execution_plan) plus its tasks (sn_aia_execution_task), conversation messages (sn_aia_message) and tool calls with request/response (sn_aia_tools_execution). Use list_ai_agent_executions to find the plan sys_id.
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": {
"execution_plan_sys_id": "<execution_plan_sys_id>"
},
"name": "get_agent_execution_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows per child table (default 200) | |
| include_payloads | No | Include full tool request/response and message bodies (default false, truncated to 500 chars) | |
| execution_plan_sys_id | Yes | sys_id of the sn_aia_execution_plan |