search_shapes
search_shapesSearch the draw.io shape library by keywords to find industry-specific icons for diagrams like cloud architecture, network topology, and P&ID. Returns matching shapes with style strings for direct use.
Instructions
Search the draw.io shape library by keywords. Returns matching shapes with their exact style strings, dimensions, and titles. Use ONLY for diagrams that need industry-specific or branded icons (cloud architecture, network topology, P&ID, electrical, Cisco, Kubernetes, BPMN). Do NOT use for standard diagram types like flowcharts, UML, ERD, org charts, or mind maps — these use basic geometric shapes (rectangles, diamonds, circles, cylinders) that are already covered in the XML reference. Also skip if the user asks to use basic/simple shapes or says not to search. The style string from the results can be used directly in mxCell style attributes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Space-separated search keywords (e.g. 'pid globe valve', 'aws lambda', 'cisco router', 'kubernetes pod') | |
| limit | No | Maximum number of results to return (default: 10, max: 50) |