stop_instance
Shut down a game instance launched by this bridge, sending the game's close command first and terminating the process tree if it doesn't exit cleanly.
Instructions
Shut down an instance this bridge launched: the game's own close command first, then termination of the process tree if it will not go. Only ever applies to a process this bridge started. To ask a game you did not launch to exit, use call_tool { name: 'close' }.
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": "stop_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Debug port of the game instance to talk to. Defaults to the bridge's --port, then GAME_BRIDGE_PORT, then 7777. launch_instance returns one; list_instances finds the rest. | |
| graceMs | No | How long to wait for a clean exit |