Spotify

Spotify

Music for everyone

15 tools
1 trigger

Tools

Name
search

Searches for tracks, artists, albums, etc.

get_playback_state

Retrieves the current playback state of the player

play

Resumes or starts playback

pause

Pauses the playback

set_volume

Sets the volume of the player

get_playlists

Retrieves the list of playlists that you created or followed

get_playlist_info

Retrieves details of a playlist

get_playlist_items

Retrieves the list of items in the playlist

get_saved_tracks

Retrieves the list of saved tracks for the current user

create_playlist

Creates a new playlist for the current user

update_playlist

Updates details of the playlist

add_playlist_items

Adds tracks or episodes to the playlist

remove_playlist_items

Removes tracks or episodes from the playlist

reorder_playlist

Reorders items in the playlist

custom_api_call

Make a custom API call to a specific endpoint

Triggers

Name
playlist_items_changed

Triggers when the items of a playlist change

Quick Start

TypeScript
import { WeavzClient } from '@weavz/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('spotify', 'search', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'spotify',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Spotify to my app?

Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Spotify support?

Spotify supports 15 tools including Search, Get Playback State, Play / Resume, Pause, Set Volume, and more.

Can I use Spotify with AI agents?

Yes. Add Spotify to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

Can Spotify be used in stateful agent workflows?

Yes. Agents can combine Spotify tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Spotify use?

Spotify uses OAuth2. Weavz stores OAuth credentials securely and refreshes tokens when supported by the provider.

How much does the Spotify integration cost?

The Spotify integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Spotify support?

Spotify supports 1 triggers including Playlist Items Changed.

Connect Spotify in minutes

Get 20,000 free action executions every month. No credit card required.