Build and run a Playdate project
playdate_runBuilds the project, launches or finds the Playdate Simulator, injects the control agent, and loads the PDX for the normal first-call and reload workflow.
Instructions
Run the project's mise build task, launch or find Playdate Simulator, inject the control agent, and load the PDX. This is the normal first call and reload workflow.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_path": "<product_path>"
},
"name": "playdate_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Positive Playdate Simulator process identifier when more than one is running. | |
| build_task | No | Terminating mise task that produces the PDX. Defaults to build. | |
| product_path | Yes | PDX path, resolved relative to project_directory. | |
| project_directory | No | Project directory. Defaults to the CLI working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal | No | ||
| stderr | Yes | ||
| stdout | Yes | ||
| command | Yes | ||
| exitCode | No | ||
| timedOut | No | ||
| errorCode | No | ||
| succeeded | Yes | ||
| termination | Yes |