{"openapi":"3.1.0","info":{"title":"EditMyPDF Catalog","version":"1.0.0","description":"Search and read the public EditMyPDF tool catalog."},"servers":[{"url":"https://editmypdf.co.in"}],"externalDocs":{"url":"https://editmypdf.co.in/mcp"},"paths":{"/v1/tools":{"get":{"operationId":"search_tools","description":"Search the live public EditMyPDF tool directory. Defaults to 10 results and accepts up to 25.","security":[],"parameters":[{"name":"query","in":"query","required":false,"description":"Words to match in the public tool directory.","schema":{"type":"string","maxLength":120}},{"name":"limit","in":"query","required":false,"description":"Maximum number of results to return.","schema":{"type":"integer","minimum":1,"maximum":25,"default":10}}],"responses":{"200":{"description":"Public catalog result","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["total","items"],"properties":{"total":{"type":"integer","minimum":0},"items":{"type":"array","maxItems":25,"items":{"type":"object","additionalProperties":false,"required":["id","name","url","description","category","processingLabel"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"description":{"type":"string"},"category":{"type":"string"},"processingLabel":{"type":["string","null"]}}}}}}}}},"400":{"description":"Invalid arguments","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"Rate limit exceeded","headers":{"Retry-After":{"description":"Seconds until the next window","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"500":{"description":"Catalog request failed","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/v1/tools/{id}":{"get":{"operationId":"get_tool","description":"Get one live public EditMyPDF tool directory entry by its stable ID. Use its URL to open the tool page.","security":[],"parameters":[{"name":"id","in":"path","required":true,"description":"Tool ID returned by search, such as merge.","schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}}],"responses":{"200":{"description":"Public catalog result","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["id","name","url","description","category","processingLabel"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"description":{"type":"string"},"category":{"type":"string"},"processingLabel":{"type":["string","null"]}}}}}},"400":{"description":"Invalid arguments","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"404":{"description":"Unknown tool ID","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"Rate limit exceeded","headers":{"Retry-After":{"description":"Seconds until the next window","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"500":{"description":"Catalog request failed","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/v1/catalog-summary":{"get":{"operationId":"get_catalog_summary","description":"Get the live public tool count and the homepage’s ordered Popular Tools list, capped at 25.","security":[],"parameters":[],"responses":{"200":{"description":"Public catalog result","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["totalTools","popularTools"],"properties":{"totalTools":{"type":"integer","minimum":0},"popularTools":{"type":"array","maxItems":25,"items":{"type":"object","additionalProperties":false,"required":["id","name","url","description","category","processingLabel"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"description":{"type":"string"},"category":{"type":"string"},"processingLabel":{"type":["string","null"]}}}}}}}}},"400":{"description":"Invalid arguments","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"Rate limit exceeded","headers":{"Retry-After":{"description":"Seconds until the next window","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"500":{"description":"Catalog request failed","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}}}}