player_pause
Pause or resume media playback in mpv player through AI commands. Control video and audio playback with simple natural language instructions.
Instructions
Toggle pause / resume playback.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:531-536 (handler)The 'player_pause' tool handler, which cycles the pause state of the mpv player and returns the current status.
case "player_pause": { await ensureMpv(); await mpv("cycle", ["pause"]); const paused = await getProperty("pause"); return ok(paused ? "Paused" : "Resumed"); } - index.js:342-346 (registration)Registration of the 'player_pause' tool in the tool definition array.
{ name: "player_pause", description: "Toggle pause / resume playback.", inputSchema: { type: "object", properties: {} }, },