Call first. Shows connection state (and as whom), setup steps if needed, token expiry, defaults, drafts in progress, cache size, data directory and any read-only mode.
Saves the Spotify Client ID (and optionally a Last.fm key or a fixed redirect port) to `config.json`.
Starts the Spotify login: opens the browser and returns the URL immediately. Pass `clientId` to save the app's Client ID in the same call. Refused while a draft is building.
Forgets the Spotify login; with `purge: true` (plus `confirm: true`, after you agreed in the conversation) deletes the whole `~/.lineupify` folder. Refuses if that folder holds files Lineupify did not create. Tells you where to remove the app's access on Spotify's side.
Turns raw poster text into a clean artist list with tiers, days and stages; drops dates, stage names and "tickets" lines.
Builds a draft from artists and/or seeds (genre, similar artist, chart, country, playlist, your taste, a blend). Returns within ~15 s; larger builds continue in the background.
Shows a draft: `summary` (default), `tracks` (paged, with stable ids, year and tempo), `artists`, or `unresolved`. Waits for progress while building. Also resumes an interrupted build.
Applies one or more edits atomically. Ops: `remove_tracks`, `add_track`, `exclude_artist`, `set_artist_track_count`, `set_artist_source`, `move`, `shuffle`, `reorder`, `set_meta`, `filter`, `undo`.
Searches Spotify, or Deezer for a Deezer draft, for a track to add manually; supports `track:` / `artist:` filters.
Publishes a ready draft as a new playlist and returns its URL. Requires the draft to have been shown to the user or `confirm: true`.
Replaces the tracks and details of the playlist a draft was published to. Refuses if the playlist changed inside Spotify unless `force: true`.
Marks each artist in a draft as known (in your top or followed artists) or new to you.
+9 more tools listed on main page