ppsspp_batch_cancel
Cancel a queued or running PPSSPP background batch job by batch_id, or survey active batches to recover a lost ID, freeing the emulator session lock.
Instructions
PURPOSE: Request cancellation of a queued or running background batch job.
USAGE: batch_id from ppsspp_batch_step(background=true); omit batch_id for survey/list mode (e.g. to recover a lost batch_id or audit background activity before touching the session).
BEHAVIOR: STATE-CHANGE. Cancels the detached task; the job's own finally block releases the session lock, so subsequent tool calls are free to use the session immediately. The abort happens at the current step boundary (a press finishes, a mid-wait cuts within ~1s). Cancelling an already-finished job is an error — check ppsspp_batch_status first if unsure.
RETURNS: {batch_id, status, note} — poll ppsspp_batch_status for the terminal state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | Job id returned by ppsspp_batch_step(background=true). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| status | Yes | ||
| batch_id | Yes |