Rename the tool registry metadata setting (#37400)

## What changed

Rename `features.tool_registry.include_tool_namespaces_info` to
`features.tool_registry.include_tool_metadata` across configuration parsing,
schema generation, resolved configuration locking, and tests. Update its
description to cover authoritative tool information in request metadata.

GitOrigin-RevId: 93b404483b71fed04031d767a41ac2bb70b836b2
This commit is contained in:
rka-oai authored and copyberry committed 2026-08-07 07:35:37 +00:00
1 parent 4ee41929ea
commit c87a218bd3
7 files changed
+22 -22

No files matched your search

+2 -2
View File
@@ -95,8 +95,8 @@ fn strict_config_accepts_tool_registry_config() {
for contents in [
"[features.tool_registry]\nerror_on_tool_collisions = true\n",
"[profiles.work.features.tool_registry]\nerror_on_tool_collisions = true\n",
"[features.tool_registry]\ninclude_tool_namespaces_info = true\n",
"[profiles.work.features.tool_registry]\ninclude_tool_namespaces_info = true\n",
"[features.tool_registry]\ninclude_tool_metadata = true\n",
"[profiles.work.features.tool_registry]\ninclude_tool_metadata = true\n",
] {
assert_eq!(
config_error_from_ignored_toml_fields::<ConfigToml>(path, contents),