bufo.world
Search 3,000+ bufos, download the free PNG art, price carts with US/CA shipping, and check out.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"store": {
"url": "https://bufo.world/mcp"
}
}
}Puntos de conexión remotos
https://bufo.world/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (7)
🟢search_products(query, collection, page, limit)
Search the bufo.world catalog of bufo frog designs by words (moods, snacks, jobs, sayings, or what the picture shows) and/or a collection. Returns designs whose name matches in storefront order (most-ordered first, then A-Z), then designs whose description matches, each with its slug, emoji shortcode, a one-sentence description of the picture, image, product URL and starting price. An empty query lists every design. Next step: get_product for formats and prices, or download_image for the free PNG.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"default": "",
"description": "Words to match, e.g. \"coffee\", \"sad\", \"pizza\". Empty = all designs.",
"type": "string",
"minLength": 0,
"maxLength": 200
},
"collection": {
"description": "Only designs in this collection (ids from list_collections).",
"type": "string",
"enum": [
"work",
"group-chat",
"feelings",
"hard-no",
"tiny-victories",
"no-thoughts",
"little-guy",
"snacks",
"fruit",
"hydrated",
"dressed",
"has-a-job",
"main-character",
"game-day",
"going-places",
"touching-grass"
]
},
"page": {
"default": 1,
"description": "Results page, from 1.",
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"limit": {
"default": 10,
"description": "Results per page, 1-50. Default 10.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"collection": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"page": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total_pages": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description_matches": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "How many of total matched on the description rather than the name; they come after the name matches"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"emoji": {
"type": "string",
"description": "The emoji shortcode, e.g. \":bufo-chef:\""
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "One sentence saying what the picture shows"
},
"url": {
"type": "string"
},
"markdown_url": {
"type": "string"
},
"image": {
"type": "string"
},
"price_from": {
"type": "object",
"properties": {
"usd": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"cad": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
}
},
"required": [
"usd",
"cad"
],
"additionalProperties": false
},
"collections": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"slug",
"title",
"emoji",
"description",
"url",
"markdown_url",
"image",
"price_from",
"collections"
],
"additionalProperties": false
}
},
"search_page_url": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [
"query",
"collection",
"page",
"limit",
"total",
"total_pages",
"description_matches",
"results",
"search_page_url",
"note"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_product(slug, market, family)
Details for one design: every format family in brief (name, price range, option values, package and every variant id), full variants for one family (variant id, options, USD and CAD price, shipping package group, image, product page URL; stickers unless you pass family), a ready add-to-cart link, the shipping rates per package, and the optional printed :slug: label (available on every format). Prices are fixed and identical for every design.
Esquema de entrada
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Exact design slug from search_products, e.g. \"bufo-chef\"."
},
"market": {
"default": "US",
"description": "US (default) or CA: which country the product page URLs show prices for. Both prices are always listed.",
"type": "string",
"enum": [
"US",
"CA"
]
},
"family": {
"default": "sticker",
"description": "Which format family to list in full: sticker, tee, hoodie, tote, mug, glass, bottle, buttons, decal, desk, clock, cards. Default sticker.",
"type": "string",
"enum": [
"sticker",
"tee",
"hoodie",
"tote",
"mug",
"glass",
"bottle",
"buttons",
"decal",
"desk",
"clock",
"cards"
]
}
},
"required": [
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"emoji": {
"type": "string",
"description": "The emoji shortcode, e.g. \":bufo-chef:\""
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "One sentence saying what the picture shows"
},
"market": {
"type": "string",
"enum": [
"US",
"CA"
]
},
"url": {
"type": "string"
},
"markdown_url": {
"type": "string"
},
"image": {
"type": "string"
},
"free_png_url": {
"type": "string"
},
"collections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"id",
"label"
],
"additionalProperties": false
}
},
"shortcode_label": {
"type": "string"
},
"price_range": {
"type": "object",
"properties": {
"usd": {
"type": "object",
"properties": {
"min": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"max": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
}
},
"required": [
"min",
"max"
],
"additionalProperties": false
},
"cad": {
"type": "object",
"properties": {
"min": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"max": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
}
},
"required": [
"min",
"max"
],
"additionalProperties": false
}
},
"required": [
"usd",
"cad"
],
"additionalProperties": false
},
"families": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"variant_count": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"price": {
"type": "object",
"properties": {
"usd": {
"type": "object",
"properties": {
"min": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"max": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
}
},
"required": [
"min",
"max"
],
"additionalProperties": false
},
"cad": {
"type": "object",
"properties": {
"min": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"max": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
}
},
"required": [
"min",
"max"
],
"additionalProperties": false
}
},
"required": [
"usd",
"cad"
],
"additionalProperties": false
},
"options": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"shipping_groups": {
"type": "array",
"items": {
"type": "string"
}
},
"variant_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"name",
"description",
"variant_count",
"price",
"options",
"shipping_groups",
"variant_ids"
],
"additionalProperties": false
}
},
"family": {
"type": "string"
},
"variants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"family": {
"type": "string"
},
"family_name": {
"type": "string"
},
"name": {
"type": "string"
},
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"options": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"price": {
"type": "object",
"properties": {
"usd": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"cad": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
}
},
"required": [
"usd",
"cad"
],
"additionalProperties": false
},
"shipping_group": {
"type": "string"
},
"shortcode_label_available": {
"type": "boolean"
},
"image": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"family",
"family_name",
"name",
"label",
"description",
"options",
"price",
"shipping_group",
"shortcode_label_available",
"image",
"url"
],
"additionalProperties": false
}
},
"add_to_cart_link": {
"type": "string"
},
"cart_link_format": {
"type": "string"
},
"shipping": {
"type": "object",
"properties": {
"countries": {
"type": "array",
"items": {
"type": "string"
}
},
"delivery": {
"type": "string"
},
"per_package": {
"type": "array",
"items": {
"type": "object",
"properties": {
"group": {
"type": "string"
},
"label": {
"type": "string"
},
"us": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"ca": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"us_free_from": {
"anyOf": [
{
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
{
"type": "null"
}
]
}
},
"required": [
"group",
"label",
"us",
"ca",
"us_free_from"
],
"additionalProperties": false
}
},
"note": {
"type": "string"
}
},
"required": [
"countries",
"delivery",
"per_package",
"note"
],
"additionalProperties": false
},
"sku_format": {
"type": "string"
}
},
"required": [
"slug",
"title",
"emoji",
"description",
"market",
"url",
"markdown_url",
"image",
"free_png_url",
"collections",
"shortcode_label",
"price_range",
"families",
"family",
"variants",
"add_to_cart_link",
"cart_link_format",
"shipping",
"sku_format"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢download_image(slugs, embed_previews)
The free PNG of one or more designs: a direct download link to the full-resolution art with a transparent background (about 1,500 px), plus the emoji shortcode, a one-sentence description of the picture and a smaller preview image. Pass embed_previews to also receive the previews as images in this result (first 4 designs). The PNGs are free for personal, non-commercial use.
Esquema de entrada
{
"type": "object",
"properties": {
"slugs": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"description": "Exact design slugs from search_products, e.g. [\"bufo-chef\"]. At most 20."
},
"embed_previews": {
"default": false,
"description": "Also attach the preview images (not the full PNGs) to the result, for the first 4 designs. Default false.",
"type": "boolean"
}
},
"required": [
"slugs"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"emoji": {
"type": "string",
"description": "The emoji shortcode, e.g. \":bufo-chef:\""
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "One sentence saying what the picture shows"
},
"png": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Direct download of the full-resolution PNG"
},
"filename": {
"type": "string"
},
"width": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"height": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"transparent": {
"type": "boolean"
}
},
"required": [
"url",
"filename",
"width",
"height",
"transparent"
],
"additionalProperties": false
},
"preview": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"mime_type": {
"type": "string"
}
},
"required": [
"url",
"mime_type"
],
"additionalProperties": false
},
"product_url": {
"type": "string"
}
},
"required": [
"slug",
"title",
"emoji",
"description",
"png",
"preview",
"product_url"
],
"additionalProperties": false
}
},
"rejected": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item": {
"type": "string"
},
"reason": {
"type": "string"
},
"message": {
"type": "string"
},
"suggestions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"item",
"reason",
"message"
],
"additionalProperties": false
}
},
"terms": {
"type": "string"
},
"embedded_previews": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "How many preview images are attached to this result as image content"
}
},
"required": [
"images",
"rejected",
"terms",
"embedded_previews"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢list_collections
The themed collections (e.g. work, snacks, feelings) with ids, names, design counts and cover images. Pass an id to search_products as collection to list its designs.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"total_designs": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"collections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"designs": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"image": {
"type": "string"
},
"search_page_url": {
"type": "string"
}
},
"required": [
"id",
"label",
"designs",
"image",
"search_page_url"
],
"additionalProperties": false
}
}
},
"required": [
"total_designs",
"collections"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢quote_cart(items, country)
Price a cart exactly as the bufo.world cart and Stripe Checkout will: line prices, merchandise subtotal, shipping per package group (each group ships separately; some US sticker packages ship free from US$20) and the total before tax. Unknown or invalid items are listed in rejected with the reason.
Esquema de entrada
{
"type": "object",
"properties": {
"items": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Design slug from search_products, e.g. \"bufo-chef\"."
},
"variant": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Variant id from get_product, e.g. \"die-cut-2\"."
},
"quantity": {
"default": 1,
"description": "How many, 1-50. Default 1.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"shortcode_label": {
"default": false,
"description": "Print the :slug: label under the art (only variants with shortcode_label_available). Default false.",
"type": "boolean"
}
},
"required": [
"slug",
"variant"
]
},
"description": "Cart lines, at most 50; at most 50 items in total."
},
"country": {
"default": "US",
"type": "string",
"enum": [
"US",
"CA"
],
"description": "Shipping country: US (prices in USD) or CA (prices in CAD)."
}
},
"required": [
"items"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"country": {
"type": "string",
"enum": [
"US",
"CA"
]
},
"currency": {
"type": "string",
"enum": [
"USD",
"CAD"
]
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sku": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"variant": {
"type": "string"
},
"variant_label": {
"type": "string"
},
"shortcode_label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quantity": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unit_price": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"line_total": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"shipping_group": {
"type": "string"
}
},
"required": [
"sku",
"slug",
"title",
"variant",
"variant_label",
"shortcode_label",
"quantity",
"unit_price",
"line_total",
"shipping_group"
],
"additionalProperties": false
}
},
"item_count": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"merchandise_subtotal": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"shipping": {
"type": "object",
"properties": {
"packages": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"group": {
"type": "string"
},
"label": {
"type": "string"
},
"amount": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"free": {
"type": "boolean"
},
"free_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remaining_for_free": {
"anyOf": [
{
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
{
"type": "null"
}
]
}
},
"required": [
"group",
"label",
"amount",
"free",
"free_reason",
"remaining_for_free"
],
"additionalProperties": false
}
}
},
"required": [
"packages",
"total",
"lines"
],
"additionalProperties": false
},
"total_before_tax": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"rejected": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item": {
"type": "string"
},
"reason": {
"type": "string"
},
"message": {
"type": "string"
},
"suggestions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"item",
"reason",
"message"
],
"additionalProperties": false
}
},
"combined": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sku": {
"type": "string"
},
"times": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"sku",
"times",
"message"
],
"additionalProperties": false
}
},
"note": {
"type": "string"
}
},
"required": [
"country",
"currency",
"lines",
"item_count",
"merchandise_subtotal",
"shipping",
"total_before_tax",
"rejected",
"combined",
"note"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢create_cart_link(items, country, mode)
Build a bufo.world link that fills the shopper's cart with these items when they open it in their browser; they review it and pay on Stripe Checkout. Returns the link, its quote and any rejected items. Creates no order and charges nothing; give the link to the shopper.
Esquema de entrada
{
"type": "object",
"properties": {
"items": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Design slug from search_products, e.g. \"bufo-chef\"."
},
"variant": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Variant id from get_product, e.g. \"die-cut-2\"."
},
"quantity": {
"default": 1,
"description": "How many, 1-50. Default 1.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"shortcode_label": {
"default": false,
"description": "Print the :slug: label under the art (only variants with shortcode_label_available). Default false.",
"type": "boolean"
}
},
"required": [
"slug",
"variant"
]
},
"description": "Cart lines, at most 50; at most 50 items in total."
},
"country": {
"description": "CA prices the cart in CAD for a Canadian shopper; default US.",
"type": "string",
"enum": [
"US",
"CA"
]
},
"mode": {
"default": "add",
"description": "add (default): add to whatever is in their cart. replace: replace their cart with these items.",
"type": "string",
"enum": [
"add",
"replace"
]
}
},
"required": [
"items"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"markdown_url": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"add",
"replace"
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"US",
"CA"
]
},
{
"type": "null"
}
]
},
"quote": {
"type": "object",
"properties": {
"country": {
"type": "string",
"enum": [
"US",
"CA"
]
},
"currency": {
"type": "string",
"enum": [
"USD",
"CAD"
]
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sku": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"variant": {
"type": "string"
},
"variant_label": {
"type": "string"
},
"shortcode_label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quantity": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unit_price": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"line_total": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"shipping_group": {
"type": "string"
}
},
"required": [
"sku",
"slug",
"title",
"variant",
"variant_label",
"shortcode_label",
"quantity",
"unit_price",
"line_total",
"shipping_group"
],
"additionalProperties": false
}
},
"item_count": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"merchandise_subtotal": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"shipping": {
"type": "object",
"properties": {
"packages": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"group": {
"type": "string"
},
"label": {
"type": "string"
},
"amount": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"free": {
"type": "boolean"
},
"free_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remaining_for_free": {
"anyOf": [
{
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
{
"type": "null"
}
]
}
},
"required": [
"group",
"label",
"amount",
"free",
"free_reason",
"remaining_for_free"
],
"additionalProperties": false
}
}
},
"required": [
"packages",
"total",
"lines"
],
"additionalProperties": false
},
"total_before_tax": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"rejected": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item": {
"type": "string"
},
"reason": {
"type": "string"
},
"message": {
"type": "string"
},
"suggestions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"item",
"reason",
"message"
],
"additionalProperties": false
}
},
"combined": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sku": {
"type": "string"
},
"times": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"sku",
"times",
"message"
],
"additionalProperties": false
}
},
"note": {
"type": "string"
}
},
"required": [
"country",
"currency",
"lines",
"item_count",
"merchandise_subtotal",
"shipping",
"total_before_tax",
"rejected",
"combined",
"note"
],
"additionalProperties": false
},
"instructions": {
"type": "string"
}
},
"required": [
"url",
"markdown_url",
"mode",
"country",
"quote",
"instructions"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢checkout_with_link(items, country)
For an agent that has the shopper's Link wallet connected (Stripe's Link CLI or Link MCP server): everything needed to buy a cart for them through Stripe's hosted agentic checkout. Returns bufo.world's Stripe business id, the catalog item id of every line, the quote, and the Link commands to create the checkout, request a one-time payment token (the shopper approves it in Link) and complete the order. Creates no order and charges nothing itself. Without Link, use create_cart_link.
Esquema de entrada
{
"type": "object",
"properties": {
"items": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Design slug from search_products, e.g. \"bufo-chef\"."
},
"variant": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Variant id from get_product, e.g. \"die-cut-2\"."
},
"quantity": {
"default": 1,
"description": "How many, 1-50. Default 1.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"shortcode_label": {
"default": false,
"description": "Print the :slug: label under the art (only variants with shortcode_label_available). Default false.",
"type": "boolean"
}
},
"required": [
"slug",
"variant"
]
},
"description": "Cart lines, at most 50; at most 50 items in total."
},
"country": {
"default": "US",
"description": "Where the order ships: US (charged in USD) or CA (charged in CAD).",
"type": "string",
"enum": [
"US",
"CA"
]
}
},
"required": [
"items"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"business": {
"type": "string",
"description": "bufo.world's Stripe business profile id: pass as --business and --network-id"
},
"business_name": {
"type": "string"
},
"ucp_profile_url": {
"type": "string"
},
"country": {
"type": "string",
"enum": [
"US",
"CA"
]
},
"currency": {
"type": "string",
"enum": [
"USD",
"CAD"
]
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Catalog item id for the checkout line"
},
"quantity": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"sku": {
"type": "string"
},
"title": {
"type": "string"
},
"variant_label": {
"type": "string"
},
"unit_price": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
}
},
"required": [
"id",
"quantity",
"sku",
"title",
"variant_label",
"unit_price"
],
"additionalProperties": false
}
},
"quote": {
"type": "object",
"properties": {
"country": {
"type": "string",
"enum": [
"US",
"CA"
]
},
"currency": {
"type": "string",
"enum": [
"USD",
"CAD"
]
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sku": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"variant": {
"type": "string"
},
"variant_label": {
"type": "string"
},
"shortcode_label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quantity": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unit_price": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"line_total": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"shipping_group": {
"type": "string"
}
},
"required": [
"sku",
"slug",
"title",
"variant",
"variant_label",
"shortcode_label",
"quantity",
"unit_price",
"line_total",
"shipping_group"
],
"additionalProperties": false
}
},
"item_count": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"merchandise_subtotal": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"shipping": {
"type": "object",
"properties": {
"packages": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"group": {
"type": "string"
},
"label": {
"type": "string"
},
"amount": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"free": {
"type": "boolean"
},
"free_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remaining_for_free": {
"anyOf": [
{
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
{
"type": "null"
}
]
}
},
"required": [
"group",
"label",
"amount",
"free",
"free_reason",
"remaining_for_free"
],
"additionalProperties": false
}
}
},
"required": [
"packages",
"total",
"lines"
],
"additionalProperties": false
},
"total_before_tax": {
"type": "number",
"description": "Amount in major units, e.g. 7.99"
},
"rejected": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item": {
"type": "string"
},
"reason": {
"type": "string"
},
"message": {
"type": "string"
},
"suggestions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"item",
"reason",
"message"
],
"additionalProperties": false
}
},
"combined": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sku": {
"type": "string"
},
"times": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"sku",
"times",
"message"
],
"additionalProperties": false
}
},
"note": {
"type": "string"
}
},
"required": [
"country",
"currency",
"lines",
"item_count",
"merchandise_subtotal",
"shipping",
"total_before_tax",
"rejected",
"combined",
"note"
],
"additionalProperties": false
},
"commands": {
"type": "object",
"properties": {
"create_checkout": {
"type": "array",
"items": {
"type": "string"
}
},
"request_payment": {
"type": "array",
"items": {
"type": "string"
}
},
"complete_checkout": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"create_checkout",
"request_payment",
"complete_checkout"
],
"additionalProperties": false
},
"steps": {
"type": "array",
"items": {
"type": "string"
}
},
"cart_link": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [
"business",
"business_name",
"ucp_profile_url",
"country",
"currency",
"line_items",
"quote",
"commands",
"steps",
"cart_link",
"note"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}Comunidad
Evidencia