get_current_user
Get the current user's profile to distinguish their own playlists from followed ones, preventing Spotify permission errors on playlist access.
Instructions
Get the authenticated user's own profile (id, display_name, ...).
The id is the only way to tell a playlist the user owns from one they
merely follow: get_playlists returns both, indistinguishable except by
owner.id. That distinction is load-bearing rather than cosmetic --
Spotify 403s playlist_items on another user's playlist, so a caller that
treats followed playlists as its own gets an error it cannot act on.
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": "get_current_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||