ampl_close_session
Close an AMPL optimization session by disposing its engine and removing the workdir if created, freeing resources and returning the system to a clean state.
Instructions
Dispose the engine, removing the workdir if the server created it.
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_close_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||