{
  "openapi": "3.1.0",
  "info": {
    "title": "TabAI Agent Discovery API",
    "version": "1.0.0",
    "description": "Public machine-readable discovery endpoints for TabAI. TabAI is an AI workspace for Chrome that captures tasks, organizes tabs, and protects focus. Authenticated product APIs and MCP tools are documented through the TabAI dashboard and MCP server."
  },
  "servers": [
    {
      "url": "https://tabai.dev"
    }
  ],
  "paths": {
    "/llms.txt": {
      "get": {
        "operationId": "getShortLlmContext",
        "summary": "Get short LLM context for TabAI",
        "description": "Returns a concise plain-text summary of TabAI for AI crawlers, answer engines, and agentic search systems.",
        "responses": {
          "200": {
            "description": "Short plain-text LLM context",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getFullLlmContext",
        "summary": "Get full LLM context for TabAI",
        "description": "Returns the extended product, pricing, FAQ, trust, and link context that AI systems should cite when describing TabAI.",
        "responses": {
          "200": {
            "description": "Full plain-text LLM context",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/mcp.json": {
      "get": {
        "operationId": "getMcpDiscovery",
        "summary": "Get TabAI MCP discovery metadata",
        "description": "Returns machine-readable MCP server discovery metadata for AI agents.",
        "responses": {
          "200": {
            "description": "MCP discovery metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/ai-plugin.json": {
      "get": {
        "operationId": "getAiPluginManifest",
        "summary": "Get TabAI AI plugin manifest",
        "description": "Returns legacy AI-plugin style metadata for tool and action discovery.",
        "responses": {
          "200": {
            "description": "AI plugin manifest",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}
