build-api-tools

Generate BaseTool scripts for each API endpoint from OpenAPI specs.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/ag3nt3154/Driverless_AGI --skill build-api-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-api-tools
Source: https://github.com/ag3nt3154/Driverless_AGI/tree/main/.dagi/skills/build-api-tools
Command: npx skills add https://github.com/ag3nt3154/Driverless_AGI --skill build-api-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Ingest a Swagger/OpenAPI spec from .dagi/api_tools/ and generate callable BaseTool scripts in .dagi/tools/ — one per API endpoint.

Core Features & Use Cases

  • Automates conversion of OpenAPI specifications into per-endpoint tools.
  • Produces discoverable tools via tool_search and callable with run_tool.
  • Use cases include rapid onboarding of new APIs, automation of API-driven workflows, and scalable testing.

Quick Start

Place your OpenAPI spec in .dagi/api_tools and run the generator to create per-endpoint tools.

Frequently Asked Questions about build-api-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate tools from an OpenAPI spec?

To generate tools from an OpenAPI spec, place the spec file in the .dagi/api_tools/ directory and run the Python generator script. This process produces a dedicated BaseTool script for each API endpoint in .dagi/tools/.

What is the best way to automate API workflows from a Swagger specification?

Automating API workflows from a Swagger specification is best handled by converting each endpoint into a callable BaseTool script. These generated tools are discoverable via tool_search and executable with run_tool for automated integrations.

Does generating API tools from Swagger require Python?

Yes, generating API tools from Swagger requires Python. The codegen process relies on the scripts/build_api_tools.py generator to ingest the OpenAPI spec and output per-endpoint tool files along with optional environment-variable configuration.

Can I use OpenAPI codegen to create discoverable endpoint tools?

Yes, you can use OpenAPI codegen to create discoverable endpoint tools. The generator parses the API spec and outputs BaseTool scripts that integrate directly with tool_search and run_tool for automated invocation.

How do I configure environment variables for generated API tools?

You configure environment variables for generated API tools during the spec ingestion process. The generator outputs per-endpoint tool files alongside optional environment-variable configuration to support automated API integrations.