# First Fold Utility Tool

> First Fold Utility Tool is a paid API for AI agents from first-fold-48h.tatoespitia.chatgpt.site, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Performs deterministic cryptographic and encoding operations — SHA-256 hashing, base64 encode/decode, and UUID generation — returning structured JSON results.

## Facts

- Endpoint: GET https://first-fold-48h.tatoespitia.chatgpt.site/api/utility
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/first-fold-utility-tool-a4c5499e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LRGHocOoP30d5RJLSY7Wc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability first-fold-utility-tool-a4c5499e
```

Example prompt: Can you compute the SHA-256 hash of the string 'hello world' using the utility tool and give me the result?

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic, server-side utility operation — SHA-256 hashing, base64 encoding/decoding, or UUID generation — and want a structured JSON response without setting up a local crypto library. Particularly useful in agent workflows where executing code locally is not possible or practical.

## Known failure modes

- Missing 'operation' query parameter returns an error response
- Invalid operation enum value (not one of sha256, base64_encode, base64_decode, uuid) returns an error
- Input string exceeding 8192 characters is rejected
- Malformed base64 input to base64_decode causes a decode error
- Payment failure (x402) prevents access to the endpoint

## How this service works

Run a deterministic SHA-256, base64 encode/decode, or UUID utility and return structured JSON.

## Output

Returns a structured JSON object containing the operation name, the computed result (hash hex string, base64 string, decoded text, or UUID), product metadata including version, and encoding information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "operation"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "UTF-8 input, or base64 for base64_decode (max 8192 chars)."
      },
      "operation": {
       "enum": [
        "sha256",
        "base64_encode",
        "base64_decode",
        "uuid"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "product",
      "version",
      "operation",
      "result",
      "encoding"
     ],
     "properties": {
      "result": {
       "type": "string"
      },
      "product": {
       "type": "string"
      },
      "version": {
       "type": "string"
      },
      "encoding": {
       "type": "string"
      },
      "operation": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/first-fold-utility-tool-a4c5499e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from first-fold-48h.tatoespitia.chatgpt.site](https://www.zero.xyz/host/first-fold-48h.tatoespitia.chatgpt.site/llms.txt)
