-
Notifications
You must be signed in to change notification settings - Fork 768
Parse tool args from CLI as JsonValue instead of just strings #647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse tool args from CLI as JsonValue instead of just strings #647
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, looks good. I wonder if we should add an example of JSON tool args in the CLI Mode section of the README?
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
Fix CLI argument parsing to support JSON values (resolves #431)
Motivation and Context
The CLI only accepted string arguments for tool calls, while the web UI supported full JSON values (objects, arrays, numbers, booleans). This made the CLI less useful for testing tools that require structured data.
How Has This Been Tested?
Breaking Changes
None. All existing CLI usage continues to work unchanged.
Types of changes
Checklist