GraphQL schema:

type GET_me_ExplicitContent {
  filter_enabled: Boolean
  filter_locked: Boolean
}

type GET_me_ExternalUrls {
  spotify: String
}

type GET_me_Followers {
  """
  Field "href" is defined as JSON since its value was always 'null'
  """
  href: JSON
  total: Int
}

type GET_me_Root {
  country: String
  display_name: String
  email: String
  explicit_content: GET_me_ExplicitContent
  external_urls: GET_me_ExternalUrls
  followers: GET_me_Followers
  href: String
  id: String
  images: [JSON]
  product: String
  type: String
  uri: String
}

type Query {
  GET_me(spotify_access_token: String!): GET_me_Root
    @rest(
      endpoint: "https://api.spotify.com/v1/me"
      headers: [
        { name: "authorization", value: "Bearer $spotify_access_token;" }
      ]
    )
}
type POST_users__user_id__playlists_ExternalUrls {
  spotify: String
}

type POST_users__user_id__playlists_ExternalUrls1 {
  spotify: String
}

type POST_users__user_id__playlists_Followers {
  """
  Field "href" is defined as JSON since its value was always 'null'
  """
  href: JSON
  total: Int
}

type POST_users__user_id__playlists_Owner {
  """
  Field "display_name" is defined as JSON since its value was always 'null'
  """
  display_name: JSON
  external_urls: POST_users__user_id__playlists_ExternalUrls1
  href: String
  id: String
  type: String
  uri: String
}

type POST_users__user_id__playlists_Root {
  collaborative: Boolean
  """
  Field "description" is defined as JSON since its value was always 'null'
  """
  description: JSON
  external_urls: POST_users__user_id__playlists_ExternalUrls
  followers: POST_users__user_id__playlists_Followers
  href: String
  id: String
  images: [JSON]
  name: String
  owner: POST_users__user_id__playlists_Owner
  """
  Field "primary_color" is defined as JSON since its value was always 'null'
  """
  primary_color: JSON
  public: Boolean
  snapshot_id: String
  tracks: POST_users__user_id__playlists_Tracks
  type: String
  uri: String
}

type POST_users__user_id__playlists_Tracks {
  href: String
  items: [JSON]
  limit: Int
  """
  Field "next" is defined as JSON since its value was always 'null'
  """
  next: JSON
  offset: Int
  """
  Field "previous" is defined as JSON since its value was always 'null'
  """
  previous: JSON
  total: Int
}

type Query {
  POST_users__user_id__playlists(
    name: String
    spotify_access_token: String!
  ): POST_users__user_id__playlists_Root
    @rest(
      method: POST
      endpoint: "https://api.spotify.com/v1/users/31rph2hasdr2pflu7x5sffw4xxgy/playlists"
      headers: [
        { name: "authorization", value: "Bearer $spotify_access_token;" }
      ]
    )
}
type GET_search_Artists {
  href: String
  items: [GET_search_ItemsEntry]
  limit: Int
  next: String
  offset: Int
  """
  Field "previous" is defined as JSON since its value was always 'null'
  """
  previous: JSON
  total: Int
}

type GET_search_ExternalUrls {
  spotify: String
}

type GET_search_Followers {
  """
  Field "href" is defined as JSON since its value was always 'null'
  """
  href: JSON
  total: Int
}

type GET_search_ImagesEntry {
  height: Int
  url: String
  width: Int
}

type GET_search_ItemsEntry {
  external_urls: GET_search_ExternalUrls
  followers: GET_search_Followers
  genres: [String]
  href: String
  id: String
  images: [GET_search_ImagesEntry]
  name: String
  popularity: Int
  type: String
  uri: String
}

type GET_search_Root {
  artists: GET_search_Artists
}

type Query {
  GET_search(
    q: String
    spotify_access_token: String!
    type: String
  ): GET_search_Root
    @rest(
      endpoint: "https://api.spotify.com/v1/search"
      headers: [
        { name: "authorization", value: "Bearer $spotify_access_token;" }
      ]
    )
}
type GET_artists__id__top_tracks_Album {
  album_type: String
  artists: [GET_artists__id__top_tracks_ArtistsEntry]
  external_urls: GET_artists__id__top_tracks_ExternalUrls1
  href: String
  id: String
  images: [GET_artists__id__top_tracks_ImagesEntry]
  is_playable: Boolean
  name: String
  release_date: String
  release_date_precision: String
  total_tracks: Int
  type: String
  uri: String
}

type GET_artists__id__top_tracks_Artists1Entry {
  external_urls: GET_artists__id__top_tracks_ExternalUrls2
  href: String
  id: String
  name: String
  type: String
  uri: String
}

type GET_artists__id__top_tracks_ArtistsEntry {
  external_urls: GET_artists__id__top_tracks_ExternalUrls
  href: String
  id: String
  name: String
  type: String
  uri: String
}

type GET_artists__id__top_tracks_ExternalIds {
  isrc: String
}

type GET_artists__id__top_tracks_ExternalUrls {
  spotify: String
}

type GET_artists__id__top_tracks_ExternalUrls1 {
  spotify: String
}

type GET_artists__id__top_tracks_ExternalUrls2 {
  spotify: String
}

type GET_artists__id__top_tracks_ExternalUrls3 {
  spotify: String
}

type GET_artists__id__top_tracks_ImagesEntry {
  height: Int
  url: String
  width: Int
}

type GET_artists__id__top_tracks_Root {
  tracks: [GET_artists__id__top_tracks_TracksEntry]
}

type GET_artists__id__top_tracks_TracksEntry {
  album: GET_artists__id__top_tracks_Album
  artists: [GET_artists__id__top_tracks_Artists1Entry]
  disc_number: Int
  duration_ms: Int
  explicit: Boolean
  external_ids: GET_artists__id__top_tracks_ExternalIds
  external_urls: GET_artists__id__top_tracks_ExternalUrls3
  href: String
  id: String
  is_local: Boolean
  is_playable: Boolean
  name: String
  popularity: Int
  """
  Field "preview_url" is defined as JSON since its value was always 'null'
  """
  preview_url: JSON
  track_number: Int
  type: String
  uri: String
}

type Query {
  GET_artists__id__top_tracks(
    id: String!
    spotify_access_token: String!
  ): GET_artists__id__top_tracks_Root
    @rest(
      endpoint: "https://api.spotify.com/v1/artists/$id;/top-tracks"
      headers: [
        { name: "authorization", value: "Bearer $spotify_access_token;" }
      ]
    )
}

Utterance: Make top tracks of Taylor Swift a new playlist named "Love Taylor"