Ensure the Playdate control agent is injected
playdate_injectChecks the selected Playdate Simulator and verifies its control agent is available, ensuring automated control tools can inject commands without failure.
Instructions
Diagnostic primitive that finds the selected Simulator and ensures its control agent is available. Normal control tools inject automatically.
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 |