ampl_diagnose
Retrieve the last solve's status, message, and violated constraints to explain infeasible or unbounded results and avoid guesswork.
Instructions
Explain the last solve: status, message, and violated constraints.
Call this after an infeasible or unbounded result rather than guessing at the model.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ampl_diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||