{
  "additionalInterfaces": [
    {
      "transport": "JSONRPC",
      "url": "https://shop.ferrite.run/a2a"
    }
  ],
  "capabilities": {
    "pushNotifications": false,
    "stateTransitionHistory": false,
    "streaming": false
  },
  "defaultInputModes": [
    "text/plain",
    "application/json"
  ],
  "defaultOutputModes": [
    "text/plain",
    "application/json"
  ],
  "description": "Ferrite Supply is a demonstration shop that people and AI agents use in the same way: six products with prices in pounds and live stock, and orders placed as a guest, without an account. The server works out every amount, then reserves the stock and records the order in one write, so two buyers never both get the last unit and a repeated request returns the order it already made. Each guest order comes with a manage token that reads or cancels that order and no other. The public demonstration takes no payment and ships nothing.",
  "name": "Ferrite Labs/Ferrite Supply",
  "preferredTransport": "JSONRPC",
  "protocolVersion": "0.3.0",
  "skills": [
    {
      "description": "List the six products with their live stock, and the rules an order is priced by. Use it first, to find product codes and prices. Returns each product's code, slug, price in pence, specification and stock, plus delivery charges, the free-delivery threshold and coupons.",
      "id": "list_products",
      "inputModes": [
        "application/json"
      ],
      "name": "list_products",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "read",
        "free"
      ]
    },
    {
      "description": "Read one product by its code or its slug. Use it to check the price and the stock just before ordering that product. Returns the product with its price in pence, specification and the units available now.",
      "id": "get_product",
      "inputModes": [
        "application/json"
      ],
      "name": "get_product",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "read",
        "free"
      ]
    },
    {
      "description": "Place an order as a guest, without an account. Use it once you know the product codes and the delivery address; it reserves stock and charges nothing. Returns the priced order and its manage_token, the only way to read or cancel it later. Repeating the idempotency-key returns the same order.",
      "id": "place_guest_order",
      "inputModes": [
        "application/json"
      ],
      "name": "place_guest_order",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "write",
        "free"
      ]
    },
    {
      "description": "Read one order with its manage token. Use it to check the status, the lines, the totals and the delivery address after placing or cancelling. Returns the order. The sample order in the example can always be read.",
      "id": "get_order",
      "inputModes": [
        "application/json"
      ],
      "name": "get_order",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "read",
        "free"
      ]
    },
    {
      "description": "Open Stripe's own payment page for a placed order. Use it only after the buyer has agreed to pay the order's total. Returns the address of that page. It is refused with stripe_not_configured where the operator has not set up Stripe, as on the public demonstration, and then nothing is charged.",
      "id": "start_checkout",
      "inputModes": [
        "application/json"
      ],
      "name": "start_checkout",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "write",
        "free"
      ]
    },
    {
      "description": "Ask Stripe whether the payment for an order has completed. Use it when a buyer has come back from Stripe's payment page and the order is not marked paid yet. Returns the order as it now stands. It is refused with stripe_not_configured where the operator has not set up Stripe.",
      "id": "reconcile_order",
      "inputModes": [
        "application/json"
      ],
      "name": "reconcile_order",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "write",
        "free"
      ]
    },
    {
      "description": "Cancel an order that has not been paid. Use it when the buyer changes their mind, and after trying out an order on the public demonstration, so that its stock goes back on sale. Returns the cancelled order; cancelling it again changes nothing.",
      "id": "cancel_order",
      "inputModes": [
        "application/json"
      ],
      "name": "cancel_order",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "write",
        "free"
      ]
    },
    {
      "description": "Read what happened to an order's confirmation email. Use it when a buyer with a paid order says that no email arrived. Returns its state, the number of attempts and the last error, or null for an order that has not been paid.",
      "id": "get_order_email",
      "inputModes": [
        "application/json"
      ],
      "name": "get_order_email",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "read",
        "free"
      ]
    },
    {
      "description": "Send a paid order's confirmation email again. Use it when get_order_email shows that the last attempt failed. Returns the state after this attempt. The email provider sees one key for the order, so a buyer does not receive two, and an unpaid order is refused with email_not_ready.",
      "id": "retry_email",
      "inputModes": [
        "application/json"
      ],
      "name": "retry_email",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "write",
        "free"
      ]
    },
    {
      "description": "Read how the shop decides who a caller is. Use it when an operation answers authentication_required or admin_required and you want to know why. Returns the caller's session, whether the admin console would admit it, and what a recovery session may not do.",
      "id": "account_security",
      "inputModes": [
        "application/json"
      ],
      "name": "account_security",
      "outputModes": [
        "application/json"
      ],
      "tags": [
        "read",
        "free"
      ]
    }
  ],
  "supportsAuthenticatedExtendedCard": false,
  "url": "https://shop.ferrite.run/a2a",
  "version": "2.1.0"
}