Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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: {} },
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/guodaxia9527/mcp-mpv-player'

If you have feedback or need assistance with the MCP directory API, please join our Discord server