get_problem_solution
Retrieve detailed content and metadata for a specific LeetCode solution, including full article text, author information, and related navigation links using a unique topic ID.
Instructions
Retrieves the complete content and metadata of a specific solution, including the full article text, author information, and related navigation links
Input Schema
Name | Required | Description | Default |
---|---|---|---|
topicId | Yes | The unique topic ID of the solution to retrieve. This ID can be obtained from the 'topicId' field in the response of the 'list_problem_solutions' tool. Format is typically a string of numbers and letters that uniquely identifies the solution in LeetCode's database. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"topicId": {
"description": "The unique topic ID of the solution to retrieve. This ID can be obtained from the 'topicId' field in the response of the 'list_problem_solutions' tool. Format is typically a string of numbers and letters that uniquely identifies the solution in LeetCode's database.",
"type": "string"
}
},
"required": [
"topicId"
],
"type": "object"
}