get_streak
Retrieve typing streak data to track consecutive days of practice on MonkeyType, helping users monitor consistency and maintain motivation.
Instructions
Get user's typing streak information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:376-381 (handler)Handler for the get_streak tool that calls the MonkeyType API endpoint /users/streak and returns the result as text.case "get_streak": { const result = await callMonkeyTypeApi('/users/streak', 'GET', apiKey); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
- server.js:198-202 (registration)Registration of the get_streak tool in the list of tools provided to the LLM.{ name: "get_streak", description: "Get user's typing streak information", inputSchema: zodToJsonSchema(GetStreakSchema), },
- server.js:43-43 (schema)Zod schema definition for get_streak tool input, which takes no parameters.const GetStreakSchema = BaseApiSchema.extend({});