# Tool Gateway OpenAPI Packager Local source edition 1.0.0. Turn tool input schemas and existing JSON POST routes into an importable OpenAPI specification with validated example requests and a route map. ## Run locally Extract the complete ZIP. Use Python 3.12 from a terminal in the extracted directory. Create a virtual environment and activate it, then run: python -m pip install -r requirements.txt python run.py example.json results Use a new output folder for each run. Start with example.json and replace its synthetic values with your own data. Preserve field names, types and units. Files and reports are processed on your computer. ## Inputs Supply title, HTTPS baseUrl, authentication (none or bearer), and up to 100 tools projected to name, inputSchema and optional title or description. For each tool, bindings[name] needs its existing literal POST path and public-safe example arguments. Supply an optional responseSchema for the successful JSON response. Keep tokens and private examples on your machine. ## Results Import OPENAPI.json (OpenAPI 3.0.3) into your client. ROUTES.csv maps tool names to operation IDs and POST routes. Use an existing gateway that accepts the arguments directly as its JSON body. The schema profile supports typed objects, required properties, boolean additionalProperties, typed arrays, strings, string enums, booleans, numeric bounds and string/array length bounds. Supply self-contained schemas with up to eight levels, 64 properties per object and 4000 total nodes. Unrepresented schema keywords, invalid examples and route collisions return an input error. Bearer mode adds an authentication field to the client. Enter the real token there. The results folder includes summary.json and the output files produced by this input. The sample produces: OPENAPI.json, ROUTES.csv. ## Español · Generador de OpenAPI para herramientas Convierte esquemas de entrada y rutas POST en una especificación OpenAPI con ejemplos validados y un mapa de rutas. Extrae el ZIP completo y abre una terminal en esa carpeta con Python 3.12. Crea y activa un entorno virtual e instala las dependencias con el comando anterior. Ejecuta: python run.py example.json resultados Copia example.json para preparar tus datos. Conserva los nombres y tipos de los campos, usa una carpeta de salida nueva y consulta summary.json junto con los archivos generados. La descripción detallada de los campos está en inglés. The included LICENSE covers use and modification for your own personal and commercial projects. This edition includes its source and can run locally after setup.