# CoCo Agent Tools YAML Endpoint

> CoCo Agent Tools YAML Endpoint is a paid API for AI agents from cocoeatsai.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Returns a YAML (or JSON) description of available agent tools for Zach Riehn's CoCo lab, optionally filtered or addressed by query parameters.

## Facts

- Endpoint: GET https://cocoeatsai.com/area4/agent/tools/yaml?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coco-agent-tools-yaml-endpoint-028539c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zOthLzCZCVSWWpaZJmh3X

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 coco-agent-tools-yaml-endpoint-028539c0
```

Example prompt: Can you fetch the YAML tool definitions from Zach Riehn's CoCo lab agent endpoint so I can see what tools are available for integration?

## When to prefer this

Choose this endpoint when you need to discover or retrieve the tool manifest for the CoCo AI agent lab in machine-readable YAML or JSON format, especially when integrating with Zach Riehn's CoCo experiments or building an agent that needs to call CoCo tools programmatically.

## Known failure modes

- Missing required query parameters may result in incomplete or empty tool listings
- Invalid 'to' or 'text' query param values may produce an error response or default output
- Service may return a 402 Payment Required if x402 micropayment is not included
- Endpoint may be unavailable or return 500 if the CoCo lab server is down
- Response may be JSON instead of YAML depending on Accept headers or server state

## How this service works

Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.

## Output

Returns a JSON or YAML object describing the available agent tools, their names, parameters, and usage — structured as a tool manifest that an AI agent can parse and use for integration.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string"
      },
      "text": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "anyOf": [
      {
       "required": [
        "json"
       ]
      },
      {
       "required": [
        "yaml"
       ]
      }
     ]
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "json": {
   "name": "example"
  }
 },
 "exampleNote": "Computed offline with demonstration inputs; time/random values are illustrative."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coco-agent-tools-yaml-endpoint-028539c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cocoeatsai.com](https://www.zero.xyz/host/cocoeatsai.com/llms.txt)
