Restart the Playdate game
playdate_restartReset a game's runtime state by restarting it in the Playdate Simulator. Use the process ID to select a specific simulator instance.
Instructions
Restart the currently loaded game, resetting its runtime state.
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": "playdate_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Positive Playdate Simulator process identifier when more than one is running. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal | No | ||
| stderr | Yes | ||
| stdout | Yes | ||
| command | Yes | ||
| exitCode | No | ||
| timedOut | No | ||
| errorCode | No | ||
| succeeded | Yes | ||
| termination | Yes |