{
  "openapi": "3.1.0",
  "info": {
    "title": "Bloxx Pages public tools",
    "version": "1.0.0",
    "description": "Publish a page from your AI in one line. Born optimised, machine-readable and agent-ready by default."
  },
  "servers": [
    {
      "url": "https://bloxx.page"
    }
  ],
  "paths": {
    "/_agent/tools/list_pages": {
      "post": {
        "operationId": "list_pages",
        "description": "List every published page on this website, with its title, description and URLs (including the Markdown URL an agent should read instead of scraping HTML).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {},
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "400": {
            "description": "Invalid arguments"
          },
          "503": {
            "description": "Published content temporarily unavailable"
          }
        }
      }
    },
    "/_agent/tools/get_page": {
      "post": {
        "operationId": "get_page",
        "description": "Read one page of this website as clean Markdown. Pass the slug from list_pages (\"home\" for the front page). Use this for services, prices, policies and anything written as prose.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "slug": {
                    "type": "string",
                    "description": "Page slug from list_pages, e.g. \"pricing\" or \"home\"."
                  }
                },
                "required": [
                  "slug"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "400": {
            "description": "Invalid arguments"
          },
          "503": {
            "description": "Published content temporarily unavailable"
          }
        }
      }
    },
    "/_agent/tools/get_business_info": {
      "post": {
        "operationId": "get_business_info",
        "description": "Structured facts about the business behind this website: its name, what it does, its website, and how to contact or book it (email, phone, address, social profiles, booking link) where it publishes them. Comes from the business's own record, not from the page.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {},
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "400": {
            "description": "Invalid arguments"
          },
          "503": {
            "description": "Published content temporarily unavailable"
          }
        }
      }
    },
    "/_agent/tools/get_faq": {
      "post": {
        "operationId": "get_faq",
        "description": "Questions this business answers in public, with the page each came from. Check here before telling the user something is not stated. Pass `slug` to read one page (get it from list_pages); without it, the likely pages are read and the answer says which.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "slug": {
                    "type": "string",
                    "description": "Optional page slug from list_pages."
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "400": {
            "description": "Invalid arguments"
          },
          "503": {
            "description": "Published content temporarily unavailable"
          }
        }
      }
    },
    "/_agent/tools/get_pricing": {
      "post": {
        "operationId": "get_pricing",
        "description": "Prices this business publishes: what each product or service is called, what it costs and, where stated, in what currency, with the page each came from. Every figure is the business's own record of it. Pass `slug` to read one page; without it, the likely pages are read and the answer says which.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "slug": {
                    "type": "string",
                    "description": "Optional page slug from list_pages."
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "400": {
            "description": "Invalid arguments"
          },
          "503": {
            "description": "Published content temporarily unavailable"
          }
        }
      }
    }
  }
}
