# Agentshelf Newline LF Normalizer

> Agentshelf Newline LF Normalizer is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-02).

Normalizes all newline sequences in a text string to Unix LF (\n) line endings

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/newline-lf?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-newline-lf-normalizer-f18491f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_elMCDb_lN96uXivn1anHv

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 agentshelf-newline-lf-normalizer-f18491f9 -d '<json body>'
```

Example prompt: Can you normalize all the line endings in this text to Unix LF? The text is: 'Hello\r\nWorld\r\nThis is a test\r\n'

## When to prefer this

Choose this endpoint when you need a guaranteed deterministic, no-network, no-LLM normalization of newlines to LF in a text string up to 100,000 characters. Prefer the free sandbox endpoint (POST /v1/sandbox/newline-lf) for testing or when cost avoidance is important. Use this paid endpoint when the sandbox is unavailable or when operating in a production pipeline requiring reliable uptime.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- Payment of exactly $0.006 USDC required; incorrect payment amount results in payment error
- Network or server unavailability causes request failure

## How this service works

Call when an agent needs newlines normalized to lf. No network and no LLM. Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/newline-lf first.

## Output

Returns the input text with all newline sequences (CRLF \r\n, CR \r, and any other variants) replaced with Unix LF (\n) characters. No network calls or LLM processing is performed; this is a pure deterministic text transformation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Hello, World!"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-newline-lf-normalizer-f18491f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
