# TrustFetch Echo

> TrustFetch Echo is a paid API for AI agents from trustfetch.duckdns.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Echoes back submitted text, serving as a stub demonstration of the TrustFetch multi-tool portfolio pattern for safety and content tools.

## Facts

- Endpoint: POST https://trustfetch.duckdns.org/tools/echo
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trustfetch-echo-81b6ea19
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MMS3GfCrlAvhIZadNAftu

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 trustfetch-echo-81b6ea19 -d '<json body>'
```

Example prompt: Can you send this text to TrustFetch and echo it back so I can confirm the connection is working: 'Hello, this is a connectivity test'?

## When to prefer this

Use this endpoint to verify that your agent or integration can successfully communicate with the TrustFetch API — it is a lightweight, low-cost stub tool best suited for connectivity checks, integration smoke tests, or demonstrating the TrustFetch multi-tool portfolio pattern. Do not use this for actual prompt-injection scanning or webpage fetching, which are separate TrustFetch tools.

## Known failure modes

- Missing required 'text' field returns a validation error
- Empty string input may return an empty echo
- Service unavailable on duckdns.org dynamic DNS if host is offline or IP has changed
- Malformed JSON body returns a 400-level error

## How this service works

Safety and content tools for AI agents. Scan text for hidden prompt-injection attempts, or fetch and clean a webpage -- with built-in injection screening -- before your agent acts on what it reads.

## Output

Returns a JSON object containing the original 'text' field echoed back verbatim, plus a 'note' field describing this as a stub tool demonstrating the multi-tool portfolio pattern.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "title": "EchoResponse",
 "required": [
  "text"
 ],
 "properties": {
  "note": {
   "type": "string",
   "title": "Note",
   "default": "stub tool demonstrating the multi-tool portfolio pattern"
  },
  "text": {
   "type": "string",
   "title": "Text"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trustfetch-echo-81b6ea19/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trustfetch.duckdns.org](https://www.zero.xyz/host/trustfetch.duckdns.org/llms.txt)
