Validate an FDS input file
fds_validate_inputValidate Fire Dynamics Simulator .fds input files before runs to detect missing namelists, undefined references, duplicate IDs, out-of-mesh objects, and mesh resolution problems.
Instructions
Check an FDS input file (.fds) for mistakes before running it.
Checks: unknown namelist groups or parameters (FDS 6.11 reference); &HEAD, &TIME with T_END, and &MESH present; OBST, VENT and DEVC inside the meshes; undefined SURF_ID, MATL_ID, PROP_ID, CTRL_ID, DEVC_ID, PART_ID or RAMP references; duplicate IDs; mesh resolution D*/dx of each fire.
Args:
path: .fds file, absolute or relative to the server workspace.
min_level: lowest severity listed in issues ("error", "warning" or
"info"); counts always covers all issues.
Returns:
valid (true when there is no error), counts per level, issues
(level, code, message, line, group) and a plain-text summary.
Fix errors first, then call again. For background on a finding, call
fds_get_guide (topics common_errors, mesh_resolution).
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": "fds_validate_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| min_level | No | info |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||