Commit e8aa2d0
fix: Support 'args' key in response tool call argument extraction
Some frameworks (e.g. LangGraph Python) return tool calls with an
'args' key instead of 'arguments'. Add 'args' as a fallback in
checkResponseToolCalls so these tool calls are validated correctly.
Refs PY-2281
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 74206d0 commit e8aa2d0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
| 878 | + | |
878 | 879 | | |
879 | 880 | | |
880 | 881 | | |
| |||
0 commit comments