We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a60da commit d5e0b7eCopy full SHA for d5e0b7e
examples/tool-call/src/main.rs
@@ -34,8 +34,10 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
34
},
35
"unit": { "type": "string", "enum": ["celsius", "fahrenheit"] },
36
37
- "required": ["location"],
+ "required": ["location", "unit"],
38
+ "additionalProperties": false
39
}))
40
+ .strict(true)
41
.build()?,
42
})
43
.build()?;
0 commit comments