{"uid":"cap_deYkFhpLpy2nQ7wyMh6Dw","slug":"forest-agent-tools-blob-decoder-4e213d8c","name":"Forest Agent Tools – Blob Decoder","description":"Machine-readable contract for active Forest paid capabilities. Unsigned paid calls return HTTP 402 with a PAYMENT-REQUIRED x402 challenge.","url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/blob/decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"blob":{"type":"string","maxLength":180000,"description":"Public blob value used to scope this lookup."},"hint":{"enum":["auto","brotli","hex"],"type":"string","description":"Public hint value used to scope this lookup."},"max_layers":{"type":"integer","maximum":4,"minimum":1,"description":"Public max layers value used to scope this lookup."}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"scope":"caller_supplied_blob_decode_only","layers":[],"decoded":false,"truncated":false,"final_json":null,"final_kind":"json","final_text":"example","final_bytes":0,"stop_reason":"already_json","final_base64":"example","ambiguity_candidates":[]},"meta":{"cache":"miss","provider":"node-buffer","checked_at":"2026-01-01T00:00:00.000Z","duration_ms":0},"version":"1","capability":"blob.decode"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4veMT-Wm7G3wmv6XVUDnL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes an opaque encoded string (JWT, Base64, Base64URL, gzip, hex, Brotli) into readable JSON, text, or binary evidence using deterministic local rules","exampleAgentPrompt":"Can you decode this blob for me — it looks like it might be JWT or base64, use auto-detection and up to 3 layers: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP38NW3jZAIDbwQ","exampleUseCases":[{"title":"Inspect JWT claims from API response","prompt":"I got this JWT back from an API and I need to see what's inside the payload — can you decode it with auto-detection, up to 2 layers? Here it is: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiYWJjMTIzIn0.signature"},{"title":"Unwrap nested base64 encoded config","prompt":"This config value came back triple-encoded in base64 — can you decode it automatically with up to 4 layers and show me the underlying JSON? The blob is: WlhaaGJYQnNaUT09"},{"title":"Decode gzip-compressed log payload","prompt":"I have a compressed gzip payload that I need to read — can you auto-decode it with up to 2 layers so I can see the plain text? The blob is: H4sIAAAAAAAAA0rNK8hJLQYAAAD//w=="}],"resultDescription":"Returns the decoded content as readable JSON, plain text, or binary data. For JWT inputs, claims are returned as-is and explicitly marked as unverified. Multi-layer decoding is applied up to the specified max_layers limit. The response indicates the detected encoding type and the decoded result at each layer.","failureModes":["Ambiguous encoding (e.g. hex vs Base64 overlap) causes auto-mode to halt and return an error requiring an explicit hint","Blob exceeds 180,000 character maximum — request rejected","max_layers value out of range (must be 1–4) causes validation failure","Brotli or hex decoding requested without an explicit hint in auto mode — returns error asking for hint","Malformed or truncated input that cannot be decoded — returns decoding error","Unsupported encoding type not covered by deterministic rules — returns unknown encoding error"],"whenToPreferThis":"Choose this endpoint when you need deterministic, local decoding of encoded blobs (JWT, Base64, Base64URL, gzip, hex, Brotli) without sending data to an external AI model. It is ideal when you need reproducible, rule-based unwrapping of opaque values, especially for JWT claim inspection (decode-only, no verification), multi-layer encoded configs, or compressed payloads. Prefer it over general-purpose LLM decoding when auditability and determinism matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T00:30:18.686Z","isFirstParty":false,"canonicalSlug":"forest-agent-tools-blob-decoder-4e213d8c"}