list_rails
Returns PacketOps and DiligenceOps contracts, required fields, sample package links, and return package targets.
The wrapper exposes the active rail path through JSON-RPC tool calls: list rails, quote a run, create a payment challenge, start a rail run, check status, fetch the return package, record the receipt, and validate a production write.
Agents can discover the available tools with tools/list, then call the same operating sequence used by Agent Use Pack, Production Write Gate, and Customer Production Runs.
Returns PacketOps and DiligenceOps contracts, required fields, sample package links, and return package targets.
Returns rail key, package level, amount, currency, accepted payment methods, and expiration.
Returns a payment-required object with run ID, accepted methods, status URL, and receipt requirement.
Starts a sandbox or payment-bound run with idempotency key, payment reference, status URL, and return package ID.
Returns run state, payment state, receipt state, next action, and return package URL.
Returns output fields, proof fields, attestation path, and callback payload.
Binds run ID, payment reference, return package ID, fee event, receipt hash, and signature state.
Checks idempotency, rail, target surface, scope, HTTPS callback, and returns accepted or rejected write state.
Completes one paid PacketOps or DiligenceOps proof run with payment reference, return package, receipt, proof hash, and completion signature.
Initialize, list tools, call the tool, read the structured result. The response carries the next action so the calling agent can continue through quote, challenge, run, return package, and receipt.
Production calls still require the same sober shape: scoped key when persistence is enabled, idempotency key, allowed rail, HTTPS callback when present, and audit record.
Start with tools/list. Then call quote_run, create_payment_challenge, and start_rail_run. The work still returns as a proof-backed package with a receipt trail.