action spotify_get_users_top_artists_and_tracks { label: "Get User's Top Items\n" description: "Get the current user's top artists or tracks based on calculated affinity.\n" provider: spotify method: GET path: "/me/top/{type}" encoding: json input: { type: "object" properties: { time_range: { type: "string" description: "Over what time frame the affinities are computed. Valid values: `long_term` (calculated from several years of data and including all new data as it becomes available), `medium_term` (approximately last 6 months), `short_term` (approximately last 4 weeks). Default: `medium_term`\n" } type: { type: "string" description: "The type of entity to return. Valid values: `artists` or `tracks`\n" enum: ["artists", "tracks"] } } required: ["type"] additionalProperties: false } output: { type: "object" additionalProperties: true } }