Optionalcspcsp belongs on the UI resource (see McpUiResourceMeta),
not the tool. Hosts read it from the resources/read content item
(with resources/list entry as fallback) and ignore it here.
Optionalpermissionspermissions belongs on the UI resource (see McpUiResourceMeta),
not the tool. Hosts ignore it here.
OptionalresourceURI of the UI resource to display for this tool, if any.
This is converted to _meta["ui/resourceUri"].
Optionalvisibility
Description
UI-related metadata for tools.