Read a run's trace
get_traceEverything one run did, in order: each call to its model (portal_returned: the node, ms, prompt, completion and cached tokens), each tool it ran (tool_returned: the tool, its command, ms, whether it succeeded, the characters it returned), what it said, each draft it wrote (drafted: its bytes) and how it ended. Long text in an event — a draft's document, a line the harness printed — is cut to its first 400 characters and its length. list_runs gives the run ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run, from list_runs. | |
| context | No | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution." | |
| workbook | Yes | The workbook id. | |
| llm_model | No | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. |