Install

Works with Drupal: ^10.5 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 147.61 KB
MD5: 3cebeae955c32745cb2d7783874d2e73
SHA-1: 560d86b363f811262ef034f1ebccc49a436464c7
SHA-256: a20306bcf51d99aa58ed6960fa6d3f76efb9449b962a0d7c269603093b0eac0a
Download zip 266.79 KB
MD5: c394753a2fa6f4bd944a28a4450fac32
SHA-1: 88dec96d014c92c588a82d2e79e7a646d948fb8b
SHA-256: a5c4014c976f292f833128d99be3e1c9a1024e65e3a57147536e476a68abe0a1

Release notes

This is a same-day fast follow to 1.0.0-beta5, fixing a single regression that broke AI provider integrations. It contains one change on top of beta5 and is a safe drop-in update — no configuration, schema, or API changes.

Who is affected

Sites using the AI connector (tool_ai_connector, e.g. with the AI module's agents) on 1.0.0-beta5. Any agent whose tool list included a tool with a free-form multiple map input — most prominently tool_belt_field_set_value — failed outright on Anthropic with:

Error invoking model response: tools.N.custom.input_schema: JSON schema is invalid. It must match JSON Schema draft 2020-12

The whole request is rejected, so every tool call from such an agent failed, not just the affected tool. MCP integrations were not affected.

What happened

beta4 started emitting an empty map's properties schema member as an explicit empty object ({}). beta5 gave field_set_value's value input its stable list-of-item-maps shape (#3582999), which put that empty object inside an items schema. The AI connector passes items subtrees to the provider payload as-is, but its schema conversion cast the empty object to a PHP array — re-encoding it as []. JSON Schema draft 2020-12 requires properties to be an object, so strict providers (Anthropic, on both native and OpenAI-compatible endpoints) rejected the payload.

Changes since 1.0.0-beta5

  • #3583008: AI connector renders empty map item schemas as invalid JSON Schema, breaking Anthropic tool calls. The converter now drops empty properties members — semantically identical, since an empty properties constrains nothing — with regression test coverage.

Recommendation

All beta5 sites using the AI connector should update immediately. Sites on beta5 using only MCP, or still on beta4, are unaffected by this regression but should update on their normal schedule.

Created by: michaellander
Created on: 13 Aug 2026 at 22:10 UTC
Last updated: 13 Aug 2026 at 22:10 UTC

Other releases