AIX: Anthropic: add strict to tool defs on wiretypes

This commit is contained in:
Enrico Ros
2025-11-24 16:42:34 -08:00
parent c83be61343
commit f381f80184
@@ -586,6 +586,11 @@ export namespace AnthropicWire_Tools {
required: z.array(z.string()).optional(), // 2025-02-24: seems to be removed; we may still have this, but it may also be within the 'properties' object
}),
/**
* [Anthropic, 2025-11-13] Structured Outputs - guarantees tool inputs to match `input_schema` exactly.
*/
strict: z.boolean().optional(),
/**
* [Anthropic, 2025-11-24] Tool Search Tool - when true, this tool is not loaded into context initially and can be discovered via the tool search tool when needed.
*/