opencode_shutdown
Shut down the MCP server process after user confirmation, gracefully terminating the server.
Instructions
Shut down this MCP server process gracefully.
Return Format
{"success": bool, "message": str, "data": dict}
Examples
opencode_shutdown(confirm=True, reason="maintenance window") opencode_shutdown(confirm=False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason, recorded in stderr before exit. | |
| confirm | No | Must be True to shut down the server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||