Skip to main content
Glama

player_stop

Stop media playback and clear the current file in the mpv player. Use this tool to halt video or audio playback and reset the player state.

Instructions

Stop playback and clear the current file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for player_stop, which ensures mpv is running and calls the stop command.
    case "player_stop": {
      await ensureMpv();
      await mpv("stop");
      return ok("Stopped");
    }
  • Definition and schema for the player_stop tool.
    {
      name: "player_stop",
      description: "Stop playback and clear the current file.",
      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