tree_set_property
Set a single property on a COMSOL model tree node, using strings with units, numbers, booleans, or lists; discover valid property names first with tree_properties.
Instructions
Set one property on a node.
value may be a string (expressions with units, e.g. "300[K]"), a number,
a boolean, or a list (e.g. ["1","1","1"] for sizes). Use tree_properties
first to discover property names.
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": {
"path": "<path>",
"name": "<name>",
"value": "<value>"
},
"name": "tree_set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| model | No | ||
| value | Yes |