get-problem
Retrieve LeetCode problem details using the problem's URL slug to access content, constraints, and test cases for coding practice or AI integration.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
titleSlug | Yes | The URL slug of the problem (e.g., 'two-sum') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"titleSlug": {
"description": "The URL slug of the problem (e.g., 'two-sum')",
"type": "string"
}
},
"required": [
"titleSlug"
],
"type": "object"
}