get_problem
Fetch the description, examples, and constraints of a LeetCode problem given its title slug.
Instructions
Retrieves details about a specific LeetCode problem, including its description, examples, constraints, and related information.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"titleSlug": "<titleSlug>"
},
"name": "get_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| titleSlug | Yes |