{
"values": [
"1",
"2.5",
"bad"
]
}
Portable intent card · data-quality
JSON Number Coerce API for agents
JSON Number Coerce: JSON Number Coerce coerces explicit numeric strings while reporting rejected values from bounded caller-supplied values without an external provider. Call JSON Number Coerce before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Number Coerce as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Processes bounded caller-supplied data in memory only; it performs no file fetch, database write, code execution, or retention. Advisory output only; the buyer owns authorization, payment policy, and production decisions.
Intent to transaction
One command, attributed.
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/json-number-coerce -m POST -H 'x-delx-source: intent-card-json-number-coerce-api' --max-amount 0.001 -b '{"values":["1","2.5","bad"]}'
{
"intent": "JSON Number Coerce for an agent workflow",
"tool_name": "util_json_number_coerce",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/json-number-coerce-api.json"
}
Portable and inspectable