get_problem
Retrieves a LeetCode problem by title slug, returning description, examples, constraints, and metadata as JSON. Use to fetch detailed problem information for a specific slug.
Instructions
Retrieves a single LeetCode problem by titleSlug (read-only, no auth). Returns description, examples, constraints, and metadata as JSON. Use search_problems to find problems by keyword/tag/difficulty; use get_daily_challenge for today's featured problem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| titleSlug | Yes | Problem URL slug (e.g., 'two-sum', 'add-two-numbers')—the path segment after /problems/ |