OptionalapiKey?: stringOptionalhost?: stringOptionalincludeOutputSchemas?: booleanOptionalobservability?: ToolObservabilityOptionalresource?: stringOptionalresourceMetadata?: stringOptionaltransformTool?: (tool: Tool) => ToolCustomize a selected tool before registration. Keep its input/result schemas, callback, description, and annotations consistent with the new behavior. Selection uses the original tool; filters are not reapplied afterward.
Advertise output schemas for object and array results. Defaults to false; result validation still runs when schemas are not advertised. Arrays use an object with an
itemsfield to match structuredContent.