t2000_agent_sell
Sell an agent's x402 API routes as paid services on its public Agent ID, enabling buyers to pay per call in USDC. Probes routes for Sui payment challenges, then sets the primary route on-chain for immediate discovery.
Instructions
Sell this agent's x402 API as Services on its public Agent ID, so buyers can pay it per call in USDC. Pass the API ORIGIN (https://api.example.com) to list every paid route in its openapi.json, or one route URL to list just that route. Every listed route is LIVE-PROBED server-side first (must answer 402 with a valid Sui payment challenge — probe failures are returned per-route), then one sponsored (gasless) signature sets the primary route on-chain. The routes appear on t2000.ai and api.t2000.ai/v1/agents/{address} immediately, and buyers find them with t2000_services. Requires an on-chain Agent ID (t2 agent register). Set remove: true to clear the listing. Mirrors t2 agent sell <url>. This does NOT spend funds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remove | No | Remove the listing instead of setting one (default: false) | |
| primary | No | Route path to record as the on-chain primary endpoint, e.g. "/palette" (default: the cheapest paid route) | |
| endpoint | No | Your API origin (expands every paid route in its openapi.json) or one x402 route URL (https). Omit only with remove: true. |