find_by_type
Search and retrieve all model elements matching a specified SysML v1 type name (e.g., Block, Requirement, FlowPort) in the active MagicDraw/Cameo model.
Instructions
Find all elements matching a SysML v1 type name (e.g. Block, Requirement, FlowPort).
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": {
"type_name": "<type_name>"
},
"name": "find_by_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||