get_solution
Retrieve solution code and key points for any algorithm problem by slug, with optional language selection.
Instructions
Get the solution code and key points for a problem
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": {
"slug": "<slug>"
},
"name": "get_solution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Problem slug, e.g. '0001.两数之和' | |
| language | No |