Ploba logo

Find the right AI tool for the job: apps, agents, APIs, MCP servers and datasets, explained plainly.

Get the AI Digest

Discover

  • Explore
  • Top Charts
  • Categories
  • Agents
  • MCP servers
  • Developer tools

Learn & community

  • Learn AI
  • AI Glossary
  • Blog
  • Hackathons
  • People
  • AI Digest

For makers

  • List your tool
  • Docs
  • Claim a listing
  • Advertise
  • Write for us

Company

  • About
  • Careers
  • Changelog
  • Trust
  • Security
  • Contact

© 2026 Ploba. All rights reserved.

  • Privacy
  • Terms
  • Cookies
  • Advertising
  • All policies
llms.txt
AI glossary
Protocols

OpenAPI Specification

Also called OpenAPI, OAS, Swagger

A standard, machine-readable format for describing a web API, so people and software, including AI agents, can see what it offers without reading its source code.

What is the OpenAPI Specification?

The OpenAPI Specification (OAS) is a standard way to describe a web API in a YAML or JSON file. The file lists each endpoint, the inputs it accepts, the responses it returns and how to authenticate. It was formerly known as the Swagger specification.

How does it work?

Because the description is machine-readable, tools can read it to generate documentation, client code and tests. It also gives AI systems a precise description of what an API can do. Many frameworks that turn APIs into tools for agents read an OpenAPI file and create the matching function definitions automatically.

What is a simple example?

A weather service publishes an OpenAPI file describing a "get forecast" endpoint that takes a city and returns a temperature. A developer, or an AI agent, can read that file and know exactly how to call the endpoint without any extra guesswork.

Why does it matter?

A clear, shared description makes APIs easier to use correctly, by people and by software. For AI agents it works as a ready-made instruction sheet for which actions are available and what each one needs.

Category
Protocols
Last reviewed
Nov 10, 2026
Also called
OpenAPI, OAS, Swagger

Sources

  • OpenAPI Specification

Related terms

  • DevelopmentApplication Programming InterfaceA set of rules that allows different software applications to communicate with each other.
  • AgentsTool CallingThe broader pattern in which an AI system autonomously selects and requests external software capabilities.
  • AgentsFunction CallingThe ability of an AI model to produce structured arguments that exactly match a declared function or schema.
  • ProtocolsJSON-RPCA lightweight protocol for calling functions on another system by sending JSON messages. It is the message format used by the Model Context Protocol.