devpocket.dev

OpenAPI से AI Tools

चुने हुए OpenAPI 3.x operations को OpenAI, Anthropic या MCP tool definitions में बदलें।

लोकल चलता है
टूल लोड हो रहा है…

इस्तेमाल कैसे करें

OpenAPI 3.x document को JSON या YAML में पेस्ट करें। Expose किए जाने वाले operations चुनें, फिर OpenAI, Anthropic या MCP output चुनें। हर operation अपना operationId या sanitized method-and-path fallback इस्तेमाल करता है। Path, query और header parameters application/json request body के साथ एक object schema में merge होते हैं; अलग table उनकी transport locations बचाती है। OpenAI strict mode में हर property required होती है और पहले optional fields nullable बनते हैं। #/components/ के local references cycle guard के साथ recursively resolve होते हैं।

आम सवाल

Operation के tool names कैसे बनते हैं?

operationId को प्राथमिकता मिलती है। न हो तो HTTP method और path मिलाकर letters, numbers, underscores या hyphens में sanitize होते हैं, duplicates हटते हैं और name 64 characters तक रहता है।

क्या remote $ref files fetch होती हैं?

नहीं। केवल pasted document के local JSON Pointers resolve होते हैं। External references बचते हैं और warnings में बताए जाते हैं।

कौन-से request bodies supported हैं?

application/json और application/*+json schemas merge होते हैं। Multipart, form, binary, callbacks और response schemas convert नहीं होते।

मिलते-जुलते टूल