Read a Simulink parameter
cm_model_getRetrieve a parameter value from a loaded Simulink model or block using its path and parameter name, so agents can inspect CarMaker controller settings.
Instructions
get_param on a loaded Simulink model or block.
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>",
"param": "<param>"
},
"name": "cm_model_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Model or block path, e.g. 'MyModel/Controller/Gain' | |
| param | Yes | Parameter name, e.g. 'Gain' |