is_submission_enabled
Check if quote submission is enabled for typing tests on MonkeyType to verify whether users can submit new quotes for typing practice.
Instructions
Check if quote submission is enabled
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:495-500 (handler)Handler for the is_submission_enabled tool. It makes a GET request to the MonkeyType API endpoint '/quotes/submission-enabled' using the shared apiKey and returns the JSON response.case "is_submission_enabled": { const result = await callMonkeyTypeApi('/quotes/submission-enabled', 'GET', apiKey); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
- server.js:99-99 (schema)Zod input schema for the is_submission_enabled tool, extending BaseApiSchema with no additional parameters.const IsSubmissionEnabledSchema = BaseApiSchema.extend({});
- server.js:263-267 (registration)Registration of the is_submission_enabled tool in the ListTools response, specifying name, description, and input schema.{ name: "is_submission_enabled", description: "Check if quote submission is enabled", inputSchema: zodToJsonSchema(IsSubmissionEnabledSchema), },