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.
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. |