McpTool
Constructors
Link copied to clipboard
constructor(name: String, title: String? = null, description: String? = null, inputSchema: JsonObject, outputSchema: JsonObject? = null, annotations: McpToolAnnotations? = null, meta: JsonObject? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
title, then annotations.title, then name (the spec's display-name precedence).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The MCP App that renders this tool's results (MCP Apps _meta.ui.resourceUri, or the deprecated flat _meta["ui/resourceUri"]); only ui:// URIs count.
Link copied to clipboard
Who may call the tool (MCP Apps _meta.ui.visibility): model and / or app; both by default.