devpocket.dev

Tool Definition Builder टूल

एक function tool बनाएँ या import करें और OpenAI, Anthropic व Gemini formats में बदलें।

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

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

बनाएँ मोड में function का नाम और इस्तेमाल का समय बताएँ, फिर types, descriptions, required flags और optional comma-separated enum values वाले parameters जोड़ें। Strict function schema चाहिए तो OpenAI strict mode चालू करें।

Import मोड में OpenAI tools object, input_schema वाला Anthropic tool या Gemini functionDeclarations पेस्ट करें। टूल source पहचानकर normalize करता है, फिर कोई भी target format कॉपी करने देता है। Nested imported object/array schemas generic object या array parameter shapes में preserve होते हैं।

आम सवाल

OpenAI strict mode क्या बदलता है?

यह strict: true और additionalProperties: false जोड़ता है। Strict structured-output rules के लिए optional fields को required nullable fields बनाया जाता है।

क्या पूरी API request import की जा सकती है?

हाँ, अगर request में tools array या functionDeclarations collection हो। पहला function declaration convert होता है।

क्या schema किसी provider को भेजी जाती है?

नहीं। Building, parsing और conversion पूरी तरह आपके browser में होते हैं।

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