runGmat
Execute a GMAT mission script headless and receive validated results including stage, errors, and reports. Use this tool to test and debug scripts iteratively.
Instructions
Run a GMAT mission script (text) headless and return the validated outcome: {ok, stage, errors, reports, raw_tail}. This is the validation loop - write a script, run it, read the errors/results, fix, repeat. 'stage' is one of completed | parse | convergence | run.
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": {
"script": "<script>"
},
"name": "runGmat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | The full GMAT .script text to run. | |
| timeoutSec | No | Max seconds before aborting (default 600). Use higher for multi-day low-thrust propagations. |