result_eval_point
Evaluate COMSOL result expressions at arbitrary coordinates or geometry points, returning values for specified datasets, solutions, and point selections.
Instructions
Evaluate expressions at arbitrary coordinates (or at geometry points).
Coordinate evaluation uses the API-only Interp feature (verified
working on Solution and CutLine/CutPlane datasets). Geometry-point
evaluation uses EvalPoint with point entity numbers.
Args: expressions: expressions to evaluate, e.g. ["T"]. coords: [[x, y, z], ...] coordinates (3 components for 3D, 2 for 2D). Evaluated with Interp; results include the coordinates. dataset: dataset tag; for coords usually the solution dataset (e.g. "dset1", or "dset2" for a transient solution at all times). entities: geometry point numbers for EvalPoint (e.g. [1, 2]); use instead of coords. Point entities have dimension 0. named_selection: named point selection for EvalPoint. solnum: 1-based solution number(s) (None = all solutions). model: model name/tag (None = current model).
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": {
"expressions": "<expressions>"
},
"name": "result_eval_point"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| coords | No | ||
| solnum | No | ||
| dataset | No | ||
| entities | No | ||
| expressions | Yes | ||
| named_selection | No |