read_equations
Read the C++ source containing a model's EQUATION blocks; specify a source file when equations are split across multiple .cpp, .h, or .hpp files.
Instructions
Return the text of the model's equation file (the C++ source with the
EQUATION(...) blocks). Models whose equations are spread over several files
list them as source_files in list_models; pass such a plain file name
(.cpp, .h or .hpp, no path) as file to read it instead.
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": {
"model": "<model>"
},
"name": "read_equations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| group | No | models | |
| model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |