model_list_components
Retrieve all component names from a COMSOL model by specifying the model name. Use this to inspect or manage model components programmatically.
Instructions
List all components in a model.
Args: model_name: Model name (default: current model)
Returns: List of component names
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "model_list_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | No |