check_feasibility
Determine whether a playlist brief with constraints can be satisfied before selecting tracks; if not, identify the failing constraint and show the maximum achievable playlist.
Instructions
Check whether a playlist brief is possible at all, before choosing any tracks.
Call this first, before query_library, whenever the user asks for a playlist with constraints. If feasible is false the brief cannot be satisfied by this library: tell the user which constraint fails and stop. Do not build a playlist anyway, do not relax the constraint yourself, and do not try alternative track combinations.
max_achievable_display is the longest playlist the library can produce under these constraints. When explaining a refusal, describe what the user asked for in their own words and quote max_achievable_display for what is possible. Never show the user a millisecond figure and never convert one yourself.
A brief with no constraints at all cannot be checked. If the user has not said how long the playlist should be or what should be in it, ask them before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| released_after | No | ||
| released_before | No | ||
| required_genres | No | ||
| max_track_duration_ms | No | ||
| max_tracks_per_artist | No | ||
| min_total_duration_ms | No |