Example inputPOST /api/v1/x402/safe-div
{
"a": 10,
"b": 4
}
Portable intent card · agent-ops-math
Divide a/b with ok flag when b!=0. Call when you need fail-soft division for agent formulas. Returns value and ok boolean for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.
Intent to transaction
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/safe-div -m POST -H 'x-delx-source: intent-card-safe-div-api' --max-amount 0.001 -b '{"a":10,"b":4}'
{
"a": 10,
"b": 4
}
{
"intent": "Safe Div for an agent workflow",
"tool_name": "util_safe_div",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/safe-div-api.json"
}
Portable and inspectable