Convert Component Selection
selection.convert_componentsConvert current selection between vertex, edge, or face component types. Define target type to perform conversion.
Instructions
Convert the current selection to a different component type (vertex, edge, or face).
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": {
"to_type": "<to_type>"
},
"name": "selection.convert_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | No | Nodes to convert (None = use current selection) | |
| to_type | Yes | Target component type |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| errors | Yes | ||
| to_type | Yes | ||
| selection | Yes | ||
| truncated | No | ||
| total_count | No | ||
| _size_warning | No | ||
| _original_size | No | ||
| _truncated_size | No |