SDK: Provide "tool calls" property on json output
Resolved 💬 5 comments Opened Aug 25, 2025 by ron-clover Closed Jan 4, 2026
Hi Anthropic team.
We are using claude code SDK a lot and we are having a hard time debugging its quality / chain of thought.
Can you please prioritize a "tool calls" property on the result JSON schema which provides more context about the tools that claude code used in this session.
As per the current schema, seems this isn't supported:
{
"type": "result",
"subtype": "success",
"total_cost_usd": 0.003,
"is_error": false,
"duration_ms": 1234,
"duration_api_ms": 800,
"num_turns": 6,
"result": "The response text here...",
"session_id": "abc123"
}This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗