set_dict_entry
Update OpenFOAM dictionary entries, including nested paths like 'solvers/p/tolerance', with fallback to simple text editing when foamDictionary is unavailable.
Instructions
Set a keyword in a dictionary file. Uses foamDictionary when available (supports nested entries like 'solvers/p/tolerance'); otherwise falls back to editing a top-level single-line entry as text.
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>",
"entry": "<entry>",
"value": "<value>"
},
"name": "set_dict_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| entry | Yes | ||
| value | Yes |