list_problem_solutions
Retrieve community solution metadata for a LeetCode problem, including topic IDs. Requires reaching maximum hint level first.
Instructions
Retrieves community solution metadata (topicIds) for a problem. GATED: rejects with HINT_LEVEL_TOO_LOW unless the active session for the slug has reached the maximum hint level. Drive the user through request_hint until that level is reached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of solutions to skip before collecting results. Used with `limit` for pagination. | |
| limit | No | Maximum number of solutions to return per request. Default 10. Must be a positive integer. | |
| orderBy | No | Sorting criteria. 'HOT' is LeetCode's default (recency × popularity), 'MOST_VOTES' = upvotes, 'MOST_RECENT' = newest. | HOT |
| tagSlugs | No | Tag slugs to filter by (languages or algorithm tags). Solutions must match at least one tag. | |
| userInput | No | Search term to filter solutions by title, content, or author name. Case-insensitive. | |
| questionSlug | Yes | The URL slug of the problem (e.g., 'two-sum'). |