export_model_file
Save a COMSOL model as an .mph file to a specified or default exports path, then report the file size and existence for verification.
Instructions
Save the model as a COMSOL .mph file and report the written size.
Args:
path: output .mph path (auto under <model_root>/exports/ when
omitted).
model: model name/tag (None = current model).
Returns:
{"path","size","exists","format":"mph"}.
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": "export_model_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| model | No |