Skip to content

Fix integer tool arguments #AUTO-ff2ac79cab - #239

Merged
luciusmagn merged 2 commits into
masterfrom
fix-integer-tool-arguments
Nov 16, 2026
Merged

luciusmagn merged 2 commits into
masterfrom
fix-integer-tool-arguments

Conversation

@chakany

@chakany chakany commented Nov 15, 2026

Copy link
Copy Markdown
Member

No description provided.

A transport can send a schema-declared integer as decimal text, and the
tool call then fails with 'must be an integer'. Coerce exact decimal text
for integer-declared arguments in the shared argument correction pass, and
stop the vector branch from swallowing strings, which are vectors. Cover
both spellings in the argument correction test.

#AUTO-ff2ac79cab
The same transport that carries a declared integer as decimal text can carry a
declared boolean as the text true or false. Coerce those two exact spellings in
the shared argument correction pass so the call executes, and leave every other
spelling unchanged. Cover both spellings in the argument correction test.

#AUTO-ff2ac79cab
@chakany chakany changed the title Fix integer tool arguments Fix integer tool arguments #AUTO-ff2ac79cab Nov 15, 2026
@luciusmagn
luciusmagn merged commit 4eaf374 into master Nov 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants