read_dict
Read a specific entry or the full contents of an OpenFOAM dictionary file, returning the targeted value or complete dictionary.
Instructions
Read an OpenFOAM dictionary file. If entry is given (foamDictionary
path syntax, e.g. 'endTime' or 'solvers/p/solver') and OpenFOAM is
installed, return just that entry's value; otherwise return full contents.
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": "read_dict"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| entry | No |