File tree Expand file tree Collapse file tree
src/ModelContextProtocol.Extensions.Apps/Server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ namespace ModelContextProtocol.Server;
1111/// UI resource with the tool. When processed by <see cref="McpApps.ApplyAppUiAttributes(McpServerTool)"/>
1212/// or <see cref="McpApps.ApplyAppUiAttributes(IEnumerable{McpServerTool})"/>, it populates the
1313/// structured <c>_meta.ui</c> object in the tool's metadata.
14- /// </para>
1514/// <para>
16- /// This attribute takes precedence over any raw <c>[McpMeta( "ui", ...) ]</c> attribute on the
17- /// same method, but explicit <c>Meta[ "ui"]</c> set via <see cref="McpServerToolCreateOptions"/>
18- /// takes precedence over this attribute.
15+ /// Explicit <c>Meta[ "ui"]</c> set via <see cref="McpServerToolCreateOptions"/> or a raw
16+ /// <c>[McpMeta( "ui", ...) ]</c> attribute takes precedence over this attribute: if the tool
17+ /// already has a <c>ui</c> key in <see cref="Protocol.Tool.Meta"/>, this attribute is ignored .
1918/// </para>
2019/// </remarks>
2120/// <example>
You can’t perform that action at this time.
0 commit comments