Remove template IDs from MCP tool call metadata (#33467)

## What changed

- Remove `template_id` from MCP tool call items and lifecycle events.
- Remove `templateId` from app-server `McpToolCallAppContext` responses and generated schemas.
- Update protocol conversions, documentation, and existing test expectations for the revised metadata shape.

GitOrigin-RevId: f2b1304eadff661eec3966673ea71206b1542b98
This commit is contained in:
Martin Au-Yeung authored and copyberry committed 2026-07-16 01:23:52 +00:00
1 parent be39aab9f4
commit 800715d201
33 files changed
+2 -173

No files matched your search

@@ -398,7 +398,6 @@ pub struct McpToolCallAppContext {
pub link_id: Option<String>,
pub resource_uri: Option<String>,
pub app_name: Option<String>,
pub template_id: Option<String>,
pub action_name: Option<String>,
}
@@ -950,7 +949,6 @@ impl From<CoreTurnItem> for ThreadItem {
link_id: mcp.link_id,
resource_uri: mcp.mcp_app_resource_uri.clone(),
app_name: mcp.app_name,
template_id: mcp.template_id,
action_name: mcp.action_name,
}),
mcp_app_resource_uri: mcp.mcp_app_resource_uri,