@iflow-mcp/leetcode-mcp-server
Version:
MCP Server for LeetCode API (supports leetcode.com and leetcode.cn)
12 lines (11 loc) • 735 B
TypeScript
/**
* GraphQL API for searching problems
*
* QuestionListFilterInput:
* {
* tags: [String]
* difficulty: String
* searchKeywords: String
* }
*/
export declare const SEARCH_PROBLEMS_QUERY = "\nquery problemsetQuestionList(\n $categorySlug: String\n $limit: Int\n $skip: Int\n $filters: QuestionListFilterInput\n) {\n problemsetQuestionList(\n categorySlug: $categorySlug\n limit: $limit\n skip: $skip\n filters: $filters\n ) {\n hasMore\n total\n questions {\n title\n titleCn\n titleSlug\n difficulty\n acRate\n topicTags {\n slug\n }\n }\n }\n}";