-
Notifications
You must be signed in to change notification settings - Fork 663
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I define a nullable bool parameter like:

The generate inputSchema is not correct:
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
The expected input schema should have type "boolean" instead of an array with both "boolean" and "null". The opitonal parameter should not in "required" section.
"inputSchema": {
"type": "object",
"properties": {
"state": {
"description": "The US state to get alerts for. Use the 2 letter abbreviation for the state (e.g. NY).",
"type": "string"
},
"includeHurricane": {
"description": "Should the alert including hurricane",
"type": "boolean"
}
},
"required": [
"state",
]
},
Logs
If applicable, add logs to help explain your problem.
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working