add-tool-from-openapi-spec

Community

Wraps a REST API into a Pixie tool.

AuthorAlexKapadia
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Wraps a REST API endpoint from an OpenAPI/Swagger specification as a Pixie tool - generating tool.json from the spec parameters and a httpx-based main.py, then validating the integration.

Core Features & Use Cases

  • Validates the OpenAPI document and selects the endpoint to wrap, or prompts for a choice when multiple endpoints exist.
  • Maps path parameters, query parameters, and request bodies into lightweight Pixie inputs and converts responses into usable outputs.
  • Auto-generates tool.json, pyproject.toml, and a deterministic /run workflow that executes the wrapped API via httpx, with configurable authentication through environment variables.

Quick Start

Provide the OpenAPI/Swagger URL or local spec path and the tool will generate a Pixie wrapper ready for validation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-tool-from-openapi-spec
Download link: https://github.com/AlexKapadia/Pixie/archive/main.zip#add-tool-from-openapi-spec

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.