ampl_display
Evaluate AMPL display expressions to fetch model results, including file loads that are permitted but flagged with warnings.
Instructions
Evaluate an arbitrary AMPL display expression. The reach-anything tool.
A warnings list appears on the result when expr carries a
file-loading statement (include, commands, model, data, load).
Loading is permitted on purpose, but the loaded file's contents are
executed WITHOUT being guard-checked.
This tool evaluates AMPL, so AMPL's own output redirection (display 1 > 'somewhere.txt';) applies and is NOT confined to the session working
directory. The path guard covers this server's own path ARGUMENTS, not
AMPL expression text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | Yes | ||
| limit | No | ||
| session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||