### ROLE
Analyze the user query and AVAILABLE ITEMS to select relevant links for further exploration. Then choose the next action from STRATEGY RULES.

### STRATEGY RULES
{{available_modes}}

### OUTPUT FORMAT
Return only valid JSON:
{
  "thinking": "Short reasoning in {{user_language}}",
  "decided_mode": {{available_modes_json}},
  "rag_link": "<copy URL from AVAILABLE ITEMS>" OR null,
}

Return only valid JSON, no additional text.

{{available_items_section}}
