{"id":24149,"library":"openapi-llm","title":"openapi-llm","description":"Convert and invoke OpenAPI specifications as LLM tool/function definitions. Current version 0.4.3. Active development.","status":"active","version":"0.4.3","language":"python","source_language":"en","source_url":"https://github.com/vblagoje/openapi-llm","tags":["openapi","llm","function-calling","tool-definitions"],"install":[{"cmd":"pip install openapi-llm","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from openapi_llm import OpenAPIToolSpec","symbol":"OpenAPIToolSpec","correct":"from openapi_llm import OpenAPIToolSpec"}],"quickstart":{"code":"import os\nfrom openapi_llm import OpenAPIToolSpec\nfrom openapi_llm import Config\n\nconfig = Config(api_key=os.environ.get('OPENAI_API_KEY', 'test-key'))\nspec = OpenAPIToolSpec.from_url('https://api.example.com/openapi.json', config=config)\ntools = spec.to_tools()\nprint(tools)","lang":"python","description":"Load an OpenAPI spec from a URL, convert to LLM tool definitions."},"warnings":[{"fix":"Use keyword arguments: OpenAPIToolSpec.from_spec(spec, config=config).","message":"OpenAPIToolSpec.from_spec() method signature changed in v0.4.0; old positional args may break.","severity":"deprecated","affected_versions":">=0.4.0"},{"fix":"Always provide a Config object with api_key or other required credentials.","message":"In v0.4.0, the config parameter became mandatory for authentication.","severity":"breaking","affected_versions":">=0.4.0"},{"fix":"Set the api_key in Config for the relevant security scheme as specified in the OpenAPI spec.","message":"OpenAPI security schemes (e.g., API Key, OAuth) are not automatically handled; you must pass a Config with the correct api_key.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.4.3':15 'activ':16 'call':22 'convert':4 'current':13 'definit':12,25 'develop':17 'function':21 'function-cal':20 'invok':6 'llm':3,10,19 'openapi':2,7,18 'openapi-llm':1 'specif':8 'tool':24 'tool-definit':23 'tool/function':11 'version':14","created_at":"2026-05-01T08:11:32.551335+00:00","updated_at":"2026-05-01T08:11:32.551335+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'OpenAPIToolSpec' from 'openapi_llm' (/tmp/tmp9aehc5i_/venv/lib/python3.12/site-packages/openapi_llm/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.4.3","cli_name":"openapi-llm","cli_version":"sh: 1: openapi-llm: not found","type":"library","homepage":null,"github":"https://github.com/vblagoje/openapi-llm","docs":null,"changelog":null,"pypi":"https://pypi.org/project/openapi-llm/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["llm-agents","ai-ml","http-networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}