# markdown_distill (`net.2xcel.aus.markdown-distill`)

> Agent Utility Service (AUS) Markdown Distiller & Cleaner: Strips web clutter, ad artifacts, and navigation chrome into token-minimal clean markdown for LLM context windows.

## Metadata & Execution
- **Namespace**: `net.2xcel.aus.markdown-distill`
- **Canonical HTML Page**: https://aipages.tech/tool/net.2xcel.aus.markdown-distill
- **JSON Specification**: https://aipages.tech/api/tools/net.2xcel.aus.markdown-distill
- **Execution Endpoint**: `POST https://aipages.tech/tool/markdown-distill`
- **Connection Protocol**: `http`
- **Pricing**: Free ($0.00 USDC)
- **Health Status**: `unknown`
- **Capabilities**: markdown-distillation, context-cleaning, token-minimization
- **Authentication**: x402 payment protocol (Header: x-payment-receipt; Token: USDC on Base Mainnet; Recipient: 0xE57cB8C73c4000EA04ba0eb607228CbAec7f8e9C)

## Input Parameters (JSON Schema Draft-07)
```json
{
  "type": "object",
  "properties": {
    "raw_markdown": {
      "type": "string",
      "description": "Raw scraped markdown to distill"
    }
  },
  "required": [
    "raw_markdown"
  ]
}
```

## Invocation Examples

### 1. Zero-Friction Sandbox Test (No Payment Required)
```bash
curl -X POST "https://aipages.tech/tool/net.2xcel.aus.markdown-distill" \
  -H "Content-Type: application/json" \
  -H "x-playground-test: true" \
  -H "x-agent-id: markdown-agent" \
  -d '{}'
```

### 2. Production Invocation (x402 Base Mainnet Settlement)
```bash
curl -X POST "https://aipages.tech/tool/markdown-distill" \
  -H "Content-Type: application/json" \
  -H "x-payment-receipt: <BASE_USDC_PAYMENT_RECEIPT>" \
  -d '{}'
```
