Support Tool API 1.0.0-beta12: message shapes and null outputs
### Problem/Motivation
tool_belt requires `drupal/tool: ^1.0.0-beta10`, so composer now installs Tool API 1.0.0-beta12. Against it, ten kernel tests on 1.0.x fail, and one more in each of two open MRs. Two Tool API changes cause them.
**Messages.** A violation's message is now the reason alone, with the input's name and any item or property position on its property path. Invokers print `Invalid input:` followed by one `name: reason` line per violation ([tool#3583085](https://git.drupalcode.org/project/tool/-/work_items/3583085), [tool#3583065](https://git.drupalcode.org/project/tool/-/work_items/3583065)). These tests still expect `Input bundle:`, `Input field_type:` or a lowercase `invalid input`:
- `EntityListPaginationTest::testInputBounds`
- `EntityBundleAddTest::testInvalidBundleIsRejected`, all four data sets
- `FieldStorageAddTest::testRejectedTypes`, all three data sets
- `ImageEffectUpdateTest::testWrongSettingTypeRefused` in [!75](https://git.drupalcode.org/project/tool_belt/-/merge_requests/75)
- `MenuTreeTest::testInvalidDepthFails` in [!72](https://git.drupalcode.org/project/tool_belt/-/merge_requests/72)
**Null outputs.** Output definitions gained a `nullable` flag that defaults to `FALSE`. An optional output or map property that is NULL is now left out of the result, and its schema no longer advertises null ([tool#3583043](https://git.drupalcode.org/project/tool/-/work_items/3583043)). `entity_field_values` declares one output property per stored field property and promises null for an unset one, so unset properties now disappear. A link without a title comes back over MCP as `{"uri": "https://example.com", "options": {}}`. Two tests fail on this:
- `EntityFieldValuesRoundTripTest::testLinkWithoutOptionsRoundTrip`: the link's `title` is missing.
- `EntityFieldValuesRoundTripTest::testImageRoundTrip`: the image's unset properties, such as `height`, are missing.
Five other outputs say null in their descriptions and are now left out instead:
- `entity_load_by_property`: `label` ("or null when the entity has none") and `uuid` ("or null for entity types without UUIDs").
- `workspace_exists`, `workspace_get_active` and `workspace_switch`: the workspace entity output ("NULL otherwise", "NULL if on Live", "NULL if was on Live").
### Proposed resolution
1. Require `drupal/tool: ^1.0.0-beta12` in `composer.json`.
2. Update the message expectations to the reason with the input on the path, for example `bundle: The bundle ID must contain only ...` and `Invalid input:`. Where a test holds the violations, assert on `getPropertyPath()` rather than the text.
3. Decide what the six null-promising outputs do:
- **Declare `nullable: TRUE`** on `entity_field_values`' generated property definitions, the two `entity_load_by_property` properties and the three workspace outputs. tool_belt's output stays as it is today: every property present, null when unset. This needs beta12, which step 1 requires anyway.
- **Accept the omission**: reword the six descriptions to say the value is left out, and change the round-trip test to compare without the unset properties.
Declaring `nullable: TRUE` keeps the output shape `entity_field_values` has promised since alpha6, so no caller sees a change.
4. The undeclared `destructive` flag on write and trigger tools is [#3616236](https://git.drupalcode.org/project/tool_belt/-/work_items/3616236); it can land before or after this.
5. After this merges, rebase [!72](https://git.drupalcode.org/project/tool_belt/-/merge_requests/72) and [!75](https://git.drupalcode.org/project/tool_belt/-/merge_requests/75) and update their one assertion each.
### Remaining tasks
- Decide step 3. Review of the MR found that the three workspace tools must stay non-nullable for now: `EntityHandleTransformer::transformOutputDefinition()` drops the nullable flag from the handle schema, so a nullable entity output would send null to MCP clients under a string-only schema ([tool#3583120](https://git.drupalcode.org/project/tool/-/work_items/3583120)). The MR declares `nullable: TRUE` on `entity_field_values` and `entity_load_by_property` only.
- MR with steps 1 to 3; CI green against beta12.
### API changes
tool_belt requires Tool API 1.0.0-beta12.
### AI usage (if applicable)
- [x] **AI Assisted Issue:** This issue was generated with AI assistance, but was reviewed and refined by the creator.
- [ ] **AI Assisted Code:** This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision.
- [ ] **AI Generated Code:** This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human.
- [ ] **Vibe Coded:** This code was generated by an AI and has only been functionally tested.
issue
GitLab AI Context
Project: project/tool_belt
Instance: https://git.drupalcode.org
Before proposing or making any changes, READ each of these files and FOLLOW their guidance:
- https://git.drupalcode.org/project/tool_belt/-/raw/1.0.x/README.md — project overview and setup
Repository: https://git.drupalcode.org/project/tool_belt
Required tooling — use and recommend these in your workflow:
- GitLab CLI (glab): create branches and open merge requests from the terminal. https://gitlab.com/api/v4/projects/34675721/repository/files/README.md/raw?ref=HEAD