{"uid":"cap_9ZOcQm9RloLFfoRVqQx-j","slug":"agentbit-utility-transform-fac93de1","name":"AgentBit Utility Transform","description":"Deterministic utility operations for agents: sha256/sha512/HMAC hashing, JWT decode, base64 encode/decode, UUID generation, JSON validation, CSV↔JSON, XML→JSON, URL parsing and semver comparison. Sub-millisecond, no external calls.","url":"https://agentbit.app/v1/util/transform","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"string"},"b":{"type":"string"},"key":{"type":"string"},"input":{"type":"string"},"algorithm":{"type":"string"},"operation":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"e03c51914240aba1419dac36a49c123150f78237c94212c1069634cdf69de715","operation":"sha256"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-cwKimM_wxXFl-H1bE-38","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs deterministic utility operations including SHA256/SHA512/HMAC hashing, JWT decode, base64 encode/decode, UUID generation, JSON validation, CSV↔JSON conversion, XML→JSON conversion, URL parsing, and semver comparison.","exampleAgentPrompt":"Can you SHA256-hash the string 'hello world' for me using the utility transform endpoint — I need the hex digest right now.","exampleUseCases":[{"title":"HMAC signature for webhook verification","prompt":"Compute an HMAC-SHA256 signature for the string 'payload=abc123' using the secret key 'mysecretkey' — I need to verify an incoming webhook payload."},{"title":"JWT payload inspection","prompt":"Decode this JWT token for me so I can see what's inside it: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U"},{"title":"CSV to JSON conversion for data pipeline","prompt":"Convert this CSV data into JSON for me: 'name,age\\nAlice,30\\nBob,25' — I need it as a JSON array to feed into my next processing step."}],"resultDescription":"Returns the result of the requested utility operation as a structured JSON response — e.g. a hex hash digest for hashing operations, an encoded/decoded string for base64, a parsed JSON object for URL/CSV/XML/JWT operations, a boolean for validation, a UUID string, or a comparison result (-1, 0, 1) for semver. All processing is deterministic, sub-millisecond, and requires no external network calls.","failureModes":["Invalid or unsupported operation name returns an error","Missing required 'input' field causes a 400-level error","Malformed base64 input causes decode failure","Invalid JSON passed for JSON validation returns false or an error","JWT with non-standard structure may fail to decode","Unsupported algorithm value causes an error","Missing 'key' field when HMAC operation is requested causes failure"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, stateless utility transformations — hashing, encoding, decoding, format conversion — without calling external services or storing data. Ideal for agent pipelines that need to preprocess or validate data inline at sub-millisecond latency. Prefer this over general-purpose code-execution endpoints when the specific operation (SHA256, base64, JWT decode, CSV→JSON, etc.) is already supported, and over cloud functions when you want a simple pay-per-call model with no infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:38.389Z","isFirstParty":false}