Require Tool inputSchema during deserialization (#1600)

This commit is contained in:
DragonFSKY 2026-06-05 16:54:07 -07:00 • committed by GitHub
commit df0c102d75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,6 +64,7 @@ public sealed class Tool : IBaseMetadata
/// </para>
/// </remarks>
[JsonPropertyName("inputSchema")]
[JsonRequired]
public JsonElement InputSchema
{
get => field;