HTTP tools
API testing, live documentation fetching, and OpenAPI parsing.
@elyracode/http-tools lets the agent send real HTTP requests, read external documentation, and parse OpenAPI specs — so it can verify endpoints, learn new APIs, and generate integration code grounded in the actual contract.
Install
elyra install npm:@elyracode/http-tools
Tools
| Tool | Description |
|---|---|
execute_http_request |
Send HTTP requests (GET, POST, PUT, PATCH, DELETE) with headers, body, and auth. Returns status, headers, and body. |
read_url_content |
Fetch a URL and convert HTML to readable text. Perfect for reading live documentation. |
inspect_openapi |
Fetch and parse OpenAPI/Swagger specs. Returns structured endpoint summaries. |
Commands
| Command | Description |
|---|---|
/http |
Interactive selector for all HTTP tools |
Examples
API testing
> Test POST localhost:8000/api/login with email and password
> Send a GET to /api/users with Bearer token authentication
> Test all CRUD endpoints for the products API
When something fails, the agent can chain into your logs and fix the underlying code.
Live documentation
> Read the Laravel Reverb docs and show me how to set it up
> Fetch the latest React 19 changelog
> What's new in Tailwind CSS 4?
Fresh information — not training‑cutoff guesses.
OpenAPI / Swagger
> Parse this OpenAPI spec and generate a PHP client with Guzzle
> Show me all user-related endpoints from the GitHub API
> Build TypeScript types from this Swagger spec
Security
- Every request includes
User-Agent: elyra-http-tools. - 30‑second timeout (configurable).
- Responses are truncated at 50 KB (HTTP) / 80 KB (URL content).
- Credentials are passed per request — nothing is stored.