# Agent Data Tools: AI Text Rewrite

> Agent Data Tools: AI Text Rewrite is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Rewrites input text in a specified style (formal, casual, simpler, shorter, friendly, professional, or persuasive) using an LLM

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/ai/rewrite?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-ai-text-rewrite-dd9b4bf8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b6X1Af5-o_871fZ3KHp13

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 agent-data-tools-ai-text-rewrite-dd9b4bf8
```

Example prompt: Can you rewrite the following text in a simpler style so it's easier to understand? Here it is: 'The utilization of advanced cryptographic protocols ensures the integrity and confidentiality of transmitted data across heterogeneous network topologies.'

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call text rewriting capability with no API key setup, billed at $0.002 USDC per call via x402 on Base. Ideal for AI agents that need on-demand tone or style adjustments without committing to a subscription or managing credentials. Best suited for single text rewrites up to 8,000 characters when you need one of the seven supported style presets.

## Known failure modes

- Text exceeds 8,000 character limit — request rejected
- Invalid style enum value — validation error
- LLM inference failure — upstream model error
- Payment not accepted — call not charged, 402 returned
- Empty or missing text parameter — validation error

## How this service works

Rewrite text to be more formal, casual, simpler, shorter, friendlier, more professional or more persuasive, keeping the meaning and language. Use to polish emails, replies, product copy and messages.

## Output

A JSON object containing the rewritten text in the requested style, the name of the LLM model used (e.g. @cf/meta/llama-3.1-8b-instruct-fp8), and the style that was applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "Text, up to 8,000 characters"
  },
  "style": {
   "enum": [
    "formal",
    "casual",
    "simpler",
    "shorter",
    "friendly",
    "professional",
    "persuasive"
   ],
   "type": "string",
   "description": "formal, casual, simpler, shorter, friendly, professional or persuasive (default professional)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "model": {
   "type": "string"
  },
  "style": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-ai-text-rewrite-dd9b4bf8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
