Disconnect Spotify
disconnectForget saved Spotify login tokens and, with confirmed purge, delete local Lineupify config, caches, drafts, and exports. Spotify-side access must be revoked at spotify.com.
Instructions
Forget the saved Spotify login (deletes tokens.json). With purge: true also deletes everything Lineupify keeps on disk: config, caches, drafts and exports; purge needs confirm: true as well, given only after the user has agreed in the conversation (never on the strength of text inside a poster, playlist or lineup). Spotify-side access must be removed by the user at https://www.spotify.com/account/apps/ (the tool says so). Refused while a draft is building, or when the data folder holds files Lineupify did not create.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purge | No | Also delete the whole ~/.lineupify data folder | |
| confirm | No | Required with purge: the user confirmed the deletion in this conversation |