Reasoning Steps
Reka Research gives you full visibility into how responses are generated.
Each call includes a reasoning trace in message.reasoning_steps
— showing every step the agent takes: what it thinks, which tools it uses, and what it returns.
The the agent may sometimes encounter errors during tool use which will be reflected in the reasoning trace.
This makes it easy to debug, explain, and audit how your AI works — essential for building apps that users and stakeholders can trust.
Reasoning Step
Each reasoning step shows how the agent decides what to do — and why.
The author of the reasoning step — either the assistant or a tool (for tool execution results).
The agent’s internal reasoning — a natural language explanation of its intent before acting.
A list of tool calls made by the agent during this reasoning step.
The result from the execution of the tool call, if applicable. See Tool Output for details.
The unique identifier of the tool call that produced this reasoning step. This links the step to a prior tool call.
Tool Output
Tool steps return structured output with metadata about the tool run and its result.
The name of the tool executed. One of search_web
or analyze
.
The result returned by the tool. The format depends on the tool used and may include web search results or analysis result.
The error message from the tool execution, if applicable.
Web search result
Represents a search result from the search_web
tool.
The URL of the webpage.
The title of the webpage.
A brief snippet or summary of the webpage content.
A string representing the age of the web search result (e.g. ‘2h ago’). Optional.
Analysis result
Represents the result from the analyze
tool.
The URL of the webpage.
The analysis of the webpage content.