Skip to main content
SpotifyTools enable an Agent to access Spotify API to search for songs.

Prerequisites

The following example requires the spotify library and an API key from Spotify. The only external library needed for spotify is the httpx. Which is already a dependency of Agno.

Example

The following agent will search for songs using Spotify API.
cookbook/14_tools/spotify_tools.py

Toolkit Params

Toolkit Functions

Developer Resources