log_attempt
Record a LeetCode practice attempt with time, confidence, and notes, then schedule the next spaced-repetition review.
Instructions
Record a practice attempt with time, confidence and notes, then schedule the next spaced-repetition review.
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": {
"problem": "<problem>",
"accepted": "<accepted>"
},
"name": "log_attempt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Approach, mistakes or insights. | |
| minutes | No | Time spent in minutes. | |
| problem | Yes | Problem slug or URL, for example two-sum. | |
| accepted | Yes | Whether the attempt ended with a working solution. | |
| confidence | No | 1 = could not solve it, 3 = solved with effort, 5 = solved easily. |