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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:538-542 (handler)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"); } - index.js:347-351 (schema)Definition and schema for the player_stop tool.
{ name: "player_stop", description: "Stop playback and clear the current file.", inputSchema: { type: "object", properties: {} }, },