Skip to content

Commit dbd6d38

Browse files
Mike Kistlerhalter73
andauthored
Apply suggestions from code review
Co-authored-by: Stephen Halter <shalter+msft@microsoft.com>
1 parent 5d38a5b commit dbd6d38

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/ModelContextProtocol.Extensions.Apps/Server/McpAppUiAttribute.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)