{
  "version": 1,
  "actionName": "playPopularKpopSongClaude",
  "description": "Comparison flow using claudeTask — compare latency/quality",
  "parameters": [
    {
      "name": "timePeriod",
      "type": "string",
      "required": false,
      "default": "this month",
      "description": "Time period for the chart (e.g., 'this month', 'this week')",
      "testValue": "this month"
    }
  ],
  "steps": [
    {
      "id": "findTopSong",
      "schemaName": "utility",
      "actionName": "claudeTask",
      "parameters": {
        "goal": "Find the most popular K-pop song ${timePeriod}. Search for current K-pop charts and identify the #1 song. Return a JSON object with 'trackName' (song title) and 'artist' (artist name) fields.",
        "parseJson": true,
        "model": "claude-haiku-4-5-20251001"
      },
      "observedOutputFormat": "{ \"trackName\": \"song title\", \"artist\": \"artist name\" }"
    },
    {
      "id": "playSong",
      "schemaName": "player",
      "actionName": "playTrack",
      "parameters": {
        "trackName": "${findTopSong.data.trackName}",
        "artists": ["${findTopSong.data.artist}"]
      }
    }
  ],
  "grammarPatterns": [
    "claude play the most popular kpop song $(timePeriod:wildcard)",
    "claude play the top kpop song $(timePeriod:wildcard)",
    "claude get the most popular kpop song $(timePeriod:wildcard) and play it",
    "claude find the hottest kpop song $(timePeriod:wildcard) and play it",
    "claude play the number one kpop song $(timePeriod:wildcard)"
  ]
}
