next-track
Skip to the next track in Spotify playback. Use this tool to control music seamlessly through the MCP Claude Spotify server integration.
Instructions
Skip to the next track
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"type": "object"
}
Implementation Reference
- index.ts:1178-1188 (handler)The handler function for the 'next-track' tool. It makes a POST request to Spotify's /me/player/next endpoint to skip to the next track and returns a success message.if (name === "next-track") { await spotifyApiRequest("/me/player/next", "POST"); return { content: [ { type: "text", text: "Skipped to next track.", }, ], };
- index.ts:697-703 (registration)Registration of the 'next-track' tool in the ListTools response, including its name, description, and empty input schema (no parameters required).name: "next-track", description: "Skip to the next track", inputSchema: { type: "object", properties: {}, }, },
- index.ts:699-702 (schema)Input schema for the 'next-track' tool, which is an empty object since no arguments are required.inputSchema: { type: "object", properties: {}, },