Python library to convert OpenAPI endpoints into callable tools for LLM AI agents.
Project description
OpenAPI Agent Tools
Generate function tools from OpenAPI server that can be used with LLM AI agents.
Project Checklist
- ✅ Generate python functions from OpenAPI server endpoints
- Generate function tools for OpenAPI Agent SDK
- Generate function tools for Google ADK
- Integrate pydantic for better typings
- Support for endpoints with multiple path parameters
Installation
pip install openapi-agent-tools
Usage
from openapi_agent_tools import generate_tools
spec = load_spec('https://api.example.com/openapi.json')
generate_tools(spec)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openapi_llm_tools-0.1.0.tar.gz.
File metadata
- Download URL: openapi_llm_tools-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41188065191ba94d3809c8777d92fa7f85f6d225ca624549e283a8e319502ced
|
|
| MD5 |
576f1d5fa8cd8628cfe67147e4b3048c
|
|
| BLAKE2b-256 |
839f0ddb6aa8a2dcb6ea068f6d5214be422b146d9f8e26a337a25850bc834e54
|
File details
Details for the file openapi_llm_tools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: openapi_llm_tools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
435ddee191ce3e7b394aae911d71de3cc45e8efe1ada9bab41afb19e02f1bb47
|
|
| MD5 |
227b9337c736d6bcf48478b85a96d1f7
|
|
| BLAKE2b-256 |
69413cefe22b906baa747c6a607a0bbbee683b2d42eb43e31a5e5316bf93763b
|