{
  "demo": true,
  "endpoint": "/api/v1/code/polyglot-type-compiler",
  "protocol": "L402",
  "price_sats": 60,
  "preview": {
    "tool": "code_polyglot_type_compiler",
    "root_name": "GeneratedPayload",
    "typescript_interface": "export interface GeneratedPayload {\n  invoice_id: string;\n  amount_sats: number;\n  paid: boolean;\n  tags: string[];\n}",
    "zod_schema": "export const GeneratedPayloadSchema = z.object({\n  invoice_id: z.string().uuid(),\n  amount_sats: z.number().int(),\n  paid: z.boolean(),\n  tags: z.array(z.string()),\n});",
    "python_pydantic_v2": "class GeneratedPayload(BaseModel):\n    invoice_id: str\n    amount_sats: int\n    paid: bool\n    tags: list[str]",
    "json_schema_draft_2020_12": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "GeneratedPayload",
      "type": "object",
      "properties": {
        "invoice_id": {
          "type": "string",
          "format": "uuid"
        },
        "amount_sats": {
          "type": "integer"
        },
        "paid": {
          "type": "boolean"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "invoice_id",
        "amount_sats",
        "paid",
        "tags"
      ],
      "additionalProperties": false
    }
  },
  "notice": "Pay 60 sats via L402 (or call via /mcp/context-code-solver) to execute live deterministic computation.",
  "upsell": {
    "message": "Upgrade to production tier for unlimited high-concurrency execution and live edge model compute.",
    "supported_payment_rails": [
      "Bitcoin Lightning (L402 / LSAT)",
      "Solana (x402 / SPL tokens)",
      "Base Ethereum (MPP / USDC)",
      "Garlicoin (L1 0-Conf / BSC WGRLC)"
    ],
    "starting_price_sats": 60,
    "portal_checkout": "https://diogenesgateway.com#payments",
    "free_developer_tier": "15 100% free coding tools available at https://diogenesgateway.com#one-click-connectors"
  }
}