Tool: search_icons
Finds appropriate Material Design icons matching keywords that describe their usage, style, or shape.
The following sample demonstrate how to use curl to invoke the search_icons MCP tool.
| Curl Request |
|---|
curl --location 'https://design.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "search_icons", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
Request message for the FindIcons method. Used to search for Material Design icons or symbols based on semantic tags.
FindIconsRequest
| JSON representation |
|---|
{ "iconSet": string, "tags": [ string ] } |
| Fields | |
|---|---|
iconSet |
Optional. The icon set to search within (e.g., "Material Symbols", "Material Icons"). If omitted, the default icon set of the environment is used. |
tags[] |
Required. A list of semantic keywords or metadata tags that describe the desired icon's visual or functional properties. If possible, specify at least three tags to describe usage, style, and shape. Examples: - For a "save" icon: ["save", "diskette", "document", "storage"] - For a "home" icon: ["home", "house", "building"] If multiple tags are provided, the service returns icons that match any part of the tag list, ordered by relevance (number of matching tags). If no tags are provided, all icons are returned. |
Output Schema
Response message for the FindIcons method. Contains a list of matching icon names.
FindIconsResponse
| JSON representation |
|---|
{ "icons": [ string ] } |
| Fields | |
|---|---|
icons[] |
The names of icons that match the provided tags, ordered by relevance. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌