run_syntax
Run Mplus syntax and get a summary of output tables, including fit indices, parameter estimates, and warnings. Extend the summary by specifying extra sections in the include argument.
Instructions
Write Mplus input syntax to a file, run it, and summarise the output. Long lines are folded to the 90-character limit first. The .inp and .out stay on disk. Use include to ask for more of the output than the default fit table, parameter estimates and warnings.
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": {
"syntax": "<syntax>"
},
"name": "run_syntax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Base name for the .inp and .out files, no spaces. | model |
| syntax | Yes | The complete input file, TITLE through OUTPUT. | |
| include | No | Extra output sections: fit, params, standardized, rsquare, effects, cinterval, classes, modindices, savedata, input, all. | |
| timeout | No | Seconds before the run is abandoned. | |
| workdir | No | Folder to run in - normally the one holding the .dat file. | |
| max_rows | No | Row cap per parameter table. |