mesh_import
Imports a mesh into a COMSOL mesh sequence from another mesh sequence, geometry, or result dataset, with options for entity selection and import feature properties.
Instructions
Import a mesh into a mesh sequence (COMSOL Import mesh feature).
COMSOL imports meshes from another mesh sequence, a geometry or a result
dataset. The source is configured through feature properties — e.g.
source="sequence" plus properties={"sequence": "mesh1"}, or
source="dataset" plus properties={"dataset": "dset1"}.
Args:
mesh: target mesh sequence tag (None = first).
source: source kind ("sequence", "geom", "dataset"); optional.
properties: extra Import properties (sequence, geom, dataset, ...).
tag: feature tag (default auto "imp1").
selection: domain/entity numbers for the import feature.
named: named selection instead of selection.
all_entities: select all entities of entity_dim.
entity_dim: selection dimension (default: geometry dimension).
component: component tag (None = auto-detect).
model: model name/tag (None = current model).
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": "mesh_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| mesh | No | ||
| model | No | ||
| named | No | ||
| source | No | ||
| component | No | ||
| selection | No | ||
| entity_dim | No | ||
| properties | No | ||
| all_entities | No |