[KongchangAI]
ConceptadditionalProperties

additionalProperties: false

A keyword in JSON Schema that controls additional fields. When set to false, it prohibits fields not declared in properties, making validation strict.

Core Facts

Timeline (last 90 days)

Oct 22

Tool interfaces should use JSON schema with additionalProperties: false, and also register risk, timeout, retry, idempotency and approval requirements.

Unverified50%
Oct 17

The validation strategy uses additionalProperties: false plus an explicit required list, which can precisely distinguish whether the model output a field outside the Schema or is missing a required field.

Unverified50%
Sep 15

The core change in @ai-sdk/xai 4.0.59 is a fix for the xAI provider failing to correctly preserve the additionalProperties: false constraint field when generating tool definitions.

Unverified50%
Sep 15

Many providers (including OpenAI) explicitly require that tool definitions carry the additionalProperties: false field in order to enable strict-mode structured output.

Unverified50%

All Facts (5)

Source Articles