get_last_result
Retrieve your most recent typing test results to track speed and accuracy progress.
Instructions
Get user's last typing test result
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:403-408 (handler)Handler case for the 'get_last_result' tool. It calls the MonkeyType API endpoint '/results/last' using the shared callMonkeyTypeApi function and returns the JSON-stringified result as tool output.case "get_last_result": { const result = await callMonkeyTypeApi('/results/last', 'GET', apiKey); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
- server.js:56-56 (schema)Zod input schema for the 'get_last_result' tool. Extends BaseApiSchema (empty object), indicating no input parameters are required.const GetLastResultSchema = BaseApiSchema.extend({});
- server.js:215-219 (registration)Tool registration in the ListTools response, providing name, description, and input schema reference.{ name: "get_last_result", description: "Get user's last typing test result", inputSchema: zodToJsonSchema(GetLastResultSchema), },