AGENT WORKFLOW · RUNNABLE EXAMPLE
Check a supplier catalogue before importing it
A price such as 1.234,50 needs an explicit locale. Duplicate product IDs and missing IDs can also make an import ambiguous.
A bounded tool call for your agent
Your agent supplies JSON to catalog_audit and reads a deterministic result. Its operator decides what happens next.
- Declare the identity and price fields, locale and currency. Prices must be strings in that locale.
- Pass a batch of up to 50 flat records. The audit returns normalised prices and issue locations.
- Resolve issues before importing. Inspect your target platform’s own rules separately.
Example input
Synthetic demonstration data, not a customer record.
{
"records": [
{
"sku": "A-10",
"price": "1.234,50"
},
{
"sku": "B-20",
"price": "29,95"
}
],
"id_field": "sku",
"price_field": "price",
"locale": "de-DE",
"currency": "EUR"
}Actual engine output
{
"service": "catalog_audit",
"version": "0.5.0",
"status": "resolved",
"flags": [],
"valid": true,
"summary": "0 issues across 2 products",
"issues": [],
"normalized": [
{
"index": 0,
"identity": "A-10",
"price_decimal": "1234.5"
},
{
"index": 1,
"identity": "B-20",
"price_decimal": "29.95"
}
],
"currency": "EUR",
"locale": "de-DE",
"scope": "Import-readiness diagnostic only. Exact typed IDs; no fuzzy matching, store-specific certification, FX conversion, price verification or writes to a store."
}Limits that matter
This checks a bounded set of identity and price conditions. It does not certify a Shopify, Amazon or other platform feed, inspect actual products or upload anything.
One completed diagnostic, including reports that find invalid products. No upload to a store. Hosted price: 0.0050 USDC per completed operation. Local execution is free.
Use this check in your agent
One completed hosted batch costs 0.005 USDC. Start with the unsigned quote, then use your approved authorizer and a 5000-unit maximum if you choose to purchase.