# AgentUtility Tool Card Generator

> AgentUtility Tool Card Generator is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Generates a structured tool card (name, description, parameters schema) for a given API tool, given its name and a natural-language description

## Facts

- Endpoint: POST https://x402.agentutility.ai/tool-card-generate?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-tool-card-generator-bf049d21
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ltM_AtgFDMLGOkH5bcAv3

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 agentutility-tool-card-generator-bf049d21 -d '<json body>'
```

Example prompt: Generate a tool card for my API called 'send_email' — it sends an email to a recipient, and takes a 'to' address, a 'subject', and a 'body' as inputs.

## When to prefer this

Use this endpoint when you need to programmatically generate a structured, LLM-compatible tool card (JSON Schema parameters) for an API from just its name and a natural-language description — especially when building agent tool registries, auto-documenting APIs, or bootstrapping function-calling schemas without manually writing JSON Schema. Prefer this over manual schema authoring when speed and automation matter.

## Known failure modes

- Missing required 'name' or 'description' fields returns a validation error
- Ambiguous or very short description may produce an inaccurate or incomplete parameters schema
- Payment failure (insufficient USDC) blocks the call before processing
- Model may hallucinate parameter names or types not implied by the description
- Very long or complex descriptions may result in truncated or oversimplified schemas

## How this service works

817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.

## Output

A JSON tool card object containing the tool's canonical name, a one-sentence description, and a JSON Schema parameters object (with type, required array, and properties with types and descriptions for each inferred parameter). Also includes model and source metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "name",
      "description"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "Tool name (1-64 chars, snake_case or kebab-case, starts with a letter)."
      },
      "example": {
       "type": "string",
       "description": "Optional example invocation."
      },
      "description": {
       "type": "string",
       "description": "One-sentence description of what the tool does."
      },
      "parameters_hint": {
       "type": "string",
       "description": "Free-form hint about parameters: types, names, what they mean. Optional."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "model": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "tool_card": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        },
        "parameters": {
         "type": "object",
         "properties": {
          "type": {
           "type": "string"
          },
          "required": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "properties": {
           "type": "object",
           "properties": {
            "city": {
             "type": "object",
             "properties": {
              "type": {
               "type": "string"
              },
              "description": {
               "type": "string"
              }
             }
            }
           }
          }
         }
        },
        "description": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "zai-org-glm-4.7",
  "source": "venice",
  "tool_card": {
   "name": "weather",
   "parameters": {
    "type": "object",
    "required": [
     "city"
    ],
    "properties": {
     "city": {
      "type": "string",
      "description": "Name of the city to fetch weather for, e.g. 'San Francisco'"
     }
    }
   },
   "description": "Get current weather for a city"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-tool-card-generator-bf049d21/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
