# GENESIS Agent Tools — Tool Contract Lint

> GENESIS Agent Tools — Tool Contract Lint is a paid API for AI agents from genesis-agent-tools.genesisagenttools.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Validates and lints an agent tool definition object for API compatibility and correctness, returning a validity flag and list of findings.

## Facts

- Endpoint: POST https://genesis-agent-tools.genesisagenttools.workers.dev/api/tools/tool-contract-lint?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/genesis-agent-tools-tool-contract-lint-8487f1af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SxYykXkiZzbM7WBmUUOl-

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 genesis-agent-tools-tool-contract-lint-8487f1af -d '<json body>'
```

Example prompt: Can you lint this tool definition object and tell me if it's valid and what issues it has before I deploy it to my agent?

## When to prefer this

Use this endpoint when you need to validate an agent or MCP tool definition object before deployment, especially in x402 pay-per-call agent workflows where correctness is critical. Prefer this over manual schema inspection when you need structured findings with a clear validity signal.

## Known failure modes

- Missing required 'tool' field in request body returns validation error
- Malformed or non-object 'tool' value may cause parsing failure
- Payment not provided or insufficient USDC results in HTTP 402 response
- Empty tool object may return findings without meaningful lint results
- Network timeout to workers.dev endpoint

## How this service works

Pay-per-call x402 APIs for autonomous agents on Base USDC: API compatibility analysis, bounded HTTP/JSON workflows, URL evidence analysis, crypto price consensus, and agent/MCP readiness checks.

## Output

Returns a JSON object with a boolean 'valid' field indicating whether the tool contract passes all checks, and a 'findings' array listing any issues, warnings, or errors detected in the tool definition.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "valid": {
   "type": "boolean"
  },
  "findings": {
   "type": "array"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/genesis-agent-tools-tool-contract-lint-8487f1af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from genesis-agent-tools.genesisagenttools.workers.dev](https://www.zero.xyz/host/genesis-agent-tools.genesisagenttools.workers.dev/llms.txt)
