get-shape-by-name
Retrieve a specific shape and its category from the diagram's shape library by providing the shape name. This tool helps locate shapes for diagram creation and modification.
Instructions
Retrieve a specific shape by its name from all available shapes in the diagram's library. It returns the shape and also the category it belongs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shape_name": "<shape_name>"
},
"name": "get-shape-by-name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape_name | Yes | Name of the shape to retrieve from the shape library of the current diagram. |