Browse, design and order photo prints for US delivery, with previews, quotes and order tracking.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Explicitly approve fulfillment of your existing zero-total order after a coupon change. Requires buyerApproved:true and the current pricingVersion. Original order terms consent remains required. Idempotent for an already confirmed complimentary order; never use this for a positive total.
Private guest credential; omit when Authorization Bearer is present.
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
claude mcp add --transport http mcp https://photoprintagent.com/mcp
Explicitly approve fulfillment of your existing zero-total order after a coupon change. Requires buyerApproved:true and the current pricingVersion. Original order terms consent remains required. Idempotent for an already confirmed complimentary order; never use this for a positive total.
| Argument | Type | Description |
|---|---|---|
| orderId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
| buyerApproved* | boolean | |
| pricingVersion* | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId",
"buyerApproved",
"pricingVersion"
],
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
},
"buyerApproved": {
"type": "boolean",
"const": true
},
"pricingVersion": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
}Mint a 90-day account key using a verified Firebase ID token in Authorization. Guests and existing agent keys cannot mint keys.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"additionalProperties": false
}Create one order from the approved quote, which already contains buyer contact and address. Requires termsAccepted:true confirming acceptance of https://photoprintagent.com/terms with the buyer’s authorization, separately from buyerApproved:true. Never infer acceptance from an upload, quote, or previous order. Reuse the same idempotency key for retries. Returns a buyer card checkout URL or x402 payment URL; call pay_print_order for the challenge. A zero-total coupon order is submitted with buyerApproved:true and needs no card or wallet. Optional couponCode must match the approved quote.
| Argument | Type | Description |
|---|---|---|
| method | string | |
| quoteId* | string | |
| couponCode | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
| buyerApproved* | boolean | |
| termsAccepted* | boolean | Required explicit acceptance of https://photoprintagent.com/terms for this order, with buyer authorization. Missing or false acceptance is rejected. |
| idempotencyKey* | string |
Get the authenticated binary upload endpoint and product/crop headers. Pass productId from list_products for every image. Upload each required image separately; retain the returned IDs in slot order. Crops and resolution checks use that product’s artwork specifications, not a universal 4x6 size. POST the image bytes separately; never put base64 or remote image URLs in MCP. For recoverable uploads, send a stable Idempotency-Key on POST and check GET /api/uploads/{key} after a lost response. Retry the same bytes and options with the same key; never retry payment as an upload recovery step. SDK: https://photoprintagent.com/sdk/photo-upload.mjs. No storage is allocated until upload. JPEG, PNG/APNG, WebP, GIF, HEIC/HEIF, TIFF, AVIF, BMP and self-contained SVG are supported. Read acceptedMimeTypes, acceptedExtensions and imageHandling for frame/page selection, transparency, and limits. Use application/octet-stream when MIME type is unavailable. Unsupported encodings must be converted before upload.
| Argument | Type | Description |
|---|---|---|
| crop | object | |
| productId | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"crop": {
"type": "object",
"properties": {
"x": {
"type": "number",
"default": 50,
"maximum": 100,
"minimum": 0
},
"y": {
"type": "number",
"default": 50,
"maximum": 100,
"minimum": 0
},
"fit": {
"enum": [
"cover",
"contain"
],
"type": "string",
"default": "cover"
},
"orientation": {
"enum": [
"landscape",
"portrait"
],
"type": "string",
"default": "landscape"
}
},
"additionalProperties": false
},
"productId": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Permanently delete one of your uploaded photos. Photos locked or reserved by an order cannot be deleted.
| Argument | Type | Description |
|---|---|---|
| photoId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"photoId"
],
"properties": {
"photoId": {
"type": "string",
"format": "uuid"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Estimate configured product and shipping charges using only product, quantity, ZIP and state. No photos or contact details required. Unknown tax or charges remain null; this is not a payable quote.
| Argument | Type | Description |
|---|---|---|
| zip* | string | |
| state* | string | |
| quantity* | integer | |
| productId* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"productId",
"quantity",
"zip",
"state"
],
"properties": {
"zip": {
"type": "string",
"pattern": "^\\d{5}$"
},
"state": {
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"quantity": {
"type": "integer",
"maximum": 500,
"minimum": 1
},
"productId": {
"type": "string",
"maxLength": 64,
"minLength": 1
}
},
"additionalProperties": false
}Mint a private on-site checkout link for your existing order. Preserve its access fragment, share only with the buyer, and never create another order to recover a checkout. Card payment uses the embedded payment modal; MCP never accepts card details.
| Argument | Type | Description |
|---|---|---|
| orderId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId"
],
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Public account and guest authentication instructions, current order terms URL/version, and required acceptance field.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"additionalProperties": false
}Read your private order. Payment and fulfillment states are separate; processing means PhotoPrintAgent accepted the order for processing, not shipped. Use only PhotoPrintAgent branding and the returned customer status in updates. Does not initiate charges. Polling verifies a completed card checkout only with payment permission or a full guest/account credential. Read-only OAuth returns saved status without reconciliation.
| Argument | Type | Description |
|---|---|---|
| orderId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId"
],
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Read your customer-safe order events in sequence. Save the last sequence as after for incremental recovery; duplicate events must be deduplicated by orderId and sequence.
| Argument | Type | Description |
|---|---|---|
| after | integer | |
| orderId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId"
],
"properties": {
"after": {
"type": "integer",
"default": 0,
"minimum": 0
},
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Get the private JPEG download endpoint for your uploaded photo. Send the same Bearer credential; this is not a public image URL.
| Argument | Type | Description |
|---|---|---|
| photoId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"photoId"
],
"properties": {
"photoId": {
"type": "string",
"format": "uuid"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}List ready products including Admin Only products. Requires a verified allowlisted admin Firebase session; guest and agent keys cannot access private catalog products.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"additionalProperties": false
}List your account key IDs and expiry/revocation status, never their secrets. Requires a verified Firebase account session; guest and agent keys cannot manage keys.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"additionalProperties": false
}List your webhook destinations and delivery status for an owned order. Signing secrets are never returned.
| Argument | Type | Description |
|---|---|---|
| orderId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId"
],
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}List your most recent orders, newest first, up to 50. Does not reconcile payments; use get_order for a specific order. Unpaid Admin Only orders require a verified admin session.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 50,
"minimum": 1
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Public: search Base ERC-20 and ready Solana SPL / compatible Token-2022 payment candidates by name, ticker or exact contract/mint. No market-cap limit. Results are paginated; pass nextOffset as offset. Call quote_crypto_payment to verify the token and obtain a fresh price. Solana needs the merchant receiving account initialized.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| offset | integer | |
| search | string | |
| network | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 20000,
"minimum": 0
},
"search": {
"type": "string",
"default": "",
"maxLength": 100
},
"network": {
"enum": [
"eip155:8453",
"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
],
"type": "string"
}
},
"additionalProperties": false
}List your unexpired, unlocked uploaded photos. Use their IDs in slot order. Photos reserved by an order cannot be deleted.
| Argument | Type | Description |
|---|---|---|
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Public paginated product catalog, print specifications, and availability. Follow nextOffset until null. availableOnly defaults to true; false includes unavailable public products with explicit available flags. Filters cover query, category, finish, dimensions and known unit price range. capabilities distinguishes API support from current orderability. productCode and sku are PhotoPrintAgent seller codes for customer listings and search; id remains the API identifier for uploads and quotes. Each product supplies artwork dimensions, minimum/maximum image counts, ordered slot labels, bleed and rotation rules. These apply to all active supported products, including multi-image designs. Artwork minimumDpi values are print quality guidance, not an upload rejection threshold: accept smaller valid images, resize them, and treat reduced quality as a nonblocking warning. Admin Only products are never listed. Pass a returned products[].id as productId when uploading and quoting; omission selects the original photo-4x6 product. Price depends on the items and destination; call quote_prints for an authoritative total.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| query | string | |
| finish | string | |
| offset | integer | |
| category | string | |
| widthInches | number |
Request an x402 v2 challenge without a signature, or settle an approved signature and submit the paid print. Uses the same guarded payment flow as REST. An unsigned call returns payment_required in structuredContent (MCP HTTP 200). Never repay an ambiguous order.
| Argument | Type | Description |
|---|---|---|
| orderId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
| cryptoQuoteId | string | |
| paymentSignature | string | Base64-encoded x402 v2 payload, same value as PAYMENT-SIGNATURE; never provide both. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId"
],
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
},
"cryptoQuoteId": {
"type": "string",
"format": "uuid"
},
"paymentSignature": {
"type": "string",
"maxLength": 64000,
"minLength": 1,
"description": "Base64-encoded x402 v2 payload, same value as PAYMENT-SIGNATURE; never provide both."
}
},
"additionalProperties": false
}Preview one complete design using owned uploaded photoIds in product slot order. Reviewed compositions (including photobooth strips) render the same assembly used for fulfillment. For artwork.calendar, include calendar:{startYear,startMonth}; previews include the generated date grids in print page order. Other products return ordered flat artwork pages, not a physical mockup. JPEG thumbnails appear as MCP image content after the JSON metadata. Page with offset/limit; no order or external photo link is created.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| offset | integer | |
| calendar | object | |
| photoIds* | array | |
| productId | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"photoIds"
],
"properties": {
"limit": {
"type": "integer",
"default": 4,
"maximum": 4,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"calendar": {
"type": "object",
"required": [
"startYear",
"startMonth"
],
"properties": {
"startYear": {
"type": "integer",
"maximum": 2100,
"minimum": 2000
},
"startMonth": {
"type": "integer",
"maximum": 12,
"minimum": 1
}
},
"additionalProperties": false
},
"photoIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 200,
"minItems": 1
},
"productId": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Estimate product and destination pricing before using the customer’s photos for an order. Uses placeholder artwork and does not create an order or a payable quote. Call quote_prints with buyer consent before checkout.
| Argument | Type | Description |
|---|---|---|
| items* | array | |
| shipping* | object | |
| productId | string | |
| campaignId | string | |
| couponCode | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"items",
"shipping"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"quantity"
],
"properties": {
"photoId": {
"type": "string",
"format": "uuid"
},
"calendar": {
"type": "object",
"required": [
"startYear",
"startMonth"
],
"properties": {
"startYear": {
"type": "integer",
"maximum": 2100,
"minimum": 2000
},
"startMonth": {
"type": "integer",
"maximum": 12,
"minimum": 1
}
},
"additionalProperties": false
},
"photoIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 200,
"minItems": 1
},
"quantity": {
"type": "integer",
"maximum": 99,
"minimum": 1
},
"productId": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1
},
"shipping": {
"type": "object",
"required": [
"firstName",
"lastName",
"email",
"phone",
"line1",
"city",
"state",
"zip",
"country"
],
"properties": {
"zip": {
"type": "string",
"pattern": "^\\d{5}(-\\d{4})?$"
},
"city": {
"$ref": "#/properties/shipping/properties/firstName"
},
"email": {
"type": "string",
"format": "email",
"maxLength": 254
},
"line1": {
"$ref": "#/properties/shipping/properties/firstName"
},
"line2": {
"type": "string",
"default": "",
"maxLength": 150
},
"phone": {
"type": "string"
},
"state": {
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"country": {
"type": "string",
"const": "US"
},
"lastName": {
"$ref": "#/properties/shipping/properties/firstName"
},
"firstName": {
"type": "string",
"maxLength": 150,
"minLength": 1
}
},
"additionalProperties": false
},
"productId": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
},
"campaignId": {
"type": "string",
"pattern": "^[a-f0-9]{16}$"
},
"couponCode": {
"type": "string",
"maxLength": 64
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Lock an unpaid order in a listed token for up to 60 seconds. Obtain approval of this exact amount and include cryptoQuoteId in the payment retry.
| Argument | Type | Description |
|---|---|---|
| orderId* | string | |
| tokenId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId",
"tokenId"
],
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"tokenId": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Quote private uploaded photo IDs and a US destination for an optional productId from list_products (defaults to photo-4x6). Items may specify productId to mix products using the same print service; omitted item productId uses the order productId. For a single image use items:[{photoId,productId,quantity}]. For a multi-image design use items:[{photoIds:[frontId,backId,...],quantity}]; array order is print order and quantity counts complete products, not individual images. Follow artwork.minImages/maxImages and labels. For artwork.calendar, upload a cover plus one photo per month and include calendar:{startYear,startMonth} on the item; the server generates and interleaves the date grids. Do not upload date grids. For artwork.composition, upload each source photo at the per-image dimensions; the server assembles the ordered photos into the single print file shown by the layout. Never precompose those photos or send each side as a separate item. Up to 200 uploaded images and 500 product units per order. Shipping follows the product’s configured pricing; flat rates can differ for 1 versus 2+ prints. Use the returned shipping and total; never multiply flat shipping by quantity. Requires consent for PhotoPrintAgent to process these photos and address for printing and delivery. Unique photos, at most 500 total prints. Optional couponCode is validated here; price.total is the discounted buyer amount and price.discount is the savings in USD cents.
| Argument | Type | Description |
|---|---|---|
| items* | array | |
| consent* | boolean | |
| shipping* | object | |
| productId | string | |
Resume a failed subscription or replay events after a saved sequence. Requires authorization to resend order status to the registered destination; no payments or orders are repeated.
| Argument | Type | Description |
|---|---|---|
| after | integer | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
| subscriptionId* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"subscriptionId"
],
"properties": {
"after": {
"type": "integer",
"default": 0,
"minimum": 0
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
},
"subscriptionId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
}
},
"additionalProperties": false
}Create an order-bound support, address-change, cancellation or refund REQUEST. Requires buyer authorization. No cancellation, refund or change is executed or guaranteed. Reuse idempotencyKey when retrying the same request; read progress capability flags first.
| Argument | Type | Description |
|---|---|---|
| type* | string | |
| message* | string | |
| orderId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
| idempotencyKey* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId",
"type",
"message",
"idempotencyKey"
],
"properties": {
"type": {
"enum": [
"general",
"address",
"cancellation",
"refund",
"damaged_prints",
"late_delivery"
],
"type": "string"
},
"message": {
"type": "string",
"maxLength": 2000,
"minLength": 10
},
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[\\w-]{16,100}$"
}
},
"additionalProperties": false
}Revoke one of your account keys by ID. Requires a verified Firebase account session; guest and agent keys cannot manage keys.
| Argument | Type | Description |
|---|---|---|
| keyId* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"keyId"
],
"properties": {
"keyId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
}
},
"additionalProperties": false
}Public: mint a private guest credential once. No account, payment or print is created. Save it in a secret store.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"additionalProperties": false
}Subscribe an owned order to an HTTPS webhook you control. Requires permission to send this order status to that endpoint. Returns a signing secret once. At-least-once delivery; verify timestamp/signature and deduplicate orderId + sequence. Repeated failures pause delivery; use event history for recovery.
| Argument | Type | Description |
|---|---|---|
| url* | string | |
| orderId* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2000
},
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}Disable one of your webhook subscriptions and erase its signing secret.
| Argument | Type | Description |
|---|---|---|
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
| subscriptionId* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"subscriptionId"
],
"properties": {
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
},
"subscriptionId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
}
},
"additionalProperties": false
}Apply or remove a coupon on your eligible unpaid x402 order; empty couponCode removes it. Check canEditCoupon first. Returns the revised price and pricingVersion, invalidates old crypto quotes, and never requests payment. Obtain approval of the new total before paying. Card or ambiguous payments cannot be changed.
| Argument | Type | Description |
|---|---|---|
| orderId* | string | |
| couponCode* | string | |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orderId",
"couponCode"
],
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"couponCode": {
"type": "string",
"maxLength": 64
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 1, 2026.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"quoteId",
"idempotencyKey",
"buyerApproved",
"termsAccepted"
],
"properties": {
"method": {
"enum": [
"card",
"x402"
],
"type": "string",
"default": "x402"
},
"quoteId": {
"type": "string",
"format": "uuid"
},
"couponCode": {
"type": "string",
"maxLength": 64
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
},
"buyerApproved": {
"type": "boolean",
"const": true
},
"termsAccepted": {
"type": "boolean",
"const": true,
"description": "Required explicit acceptance of https://photoprintagent.com/terms for this order, with buyer authorization. Missing or false acceptance is rejected."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[-\\w]{16,100}$"
}
},
"additionalProperties": false
}| heightInches | number |
| availableOnly | boolean |
| maxPriceCents | integer |
| minPriceCents | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 100
},
"finish": {
"type": "string",
"maxLength": 80
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"category": {
"type": "string",
"maxLength": 80
},
"widthInches": {
"type": "number",
"maximum": 1000,
"exclusiveMinimum": 0
},
"heightInches": {
"type": "number",
"maximum": 1000,
"exclusiveMinimum": 0
},
"availableOnly": {
"type": "boolean",
"default": true
},
"maxPriceCents": {
"type": "integer",
"minimum": 0
},
"minPriceCents": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
}| campaignId |
| string |
| couponCode | string |
| guestToken | string | Private guest credential; omit when Authorization Bearer is present. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"items",
"shipping",
"consent"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"quantity"
],
"properties": {
"photoId": {
"type": "string",
"format": "uuid"
},
"calendar": {
"type": "object",
"required": [
"startYear",
"startMonth"
],
"properties": {
"startYear": {
"type": "integer",
"maximum": 2100,
"minimum": 2000
},
"startMonth": {
"type": "integer",
"maximum": 12,
"minimum": 1
}
},
"additionalProperties": false
},
"photoIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 200,
"minItems": 1
},
"quantity": {
"type": "integer",
"maximum": 99,
"minimum": 1
},
"productId": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1
},
"consent": {
"type": "boolean",
"const": true
},
"shipping": {
"type": "object",
"required": [
"firstName",
"lastName",
"email",
"phone",
"line1",
"city",
"state",
"zip",
"country"
],
"properties": {
"zip": {
"type": "string",
"pattern": "^\\d{5}(-\\d{4})?$"
},
"city": {
"$ref": "#/properties/shipping/properties/firstName"
},
"email": {
"type": "string",
"format": "email",
"maxLength": 254
},
"line1": {
"$ref": "#/properties/shipping/properties/firstName"
},
"line2": {
"type": "string",
"default": "",
"maxLength": 150
},
"phone": {
"type": "string"
},
"state": {
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"country": {
"type": "string",
"const": "US"
},
"lastName": {
"$ref": "#/properties/shipping/properties/firstName"
},
"firstName": {
"type": "string",
"maxLength": 150,
"minLength": 1
}
},
"additionalProperties": false
},
"productId": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
},
"campaignId": {
"type": "string",
"pattern": "^[a-f0-9]{16}$"
},
"couponCode": {
"type": "string",
"maxLength": 64
},
"guestToken": {
"type": "string",
"pattern": "^ppg_[a-f0-9]{64}$",
"description": "Private guest credential; omit when Authorization Bearer is present."
}
},
"additionalProperties": false
}