# SignalDesk AI LCM Calculator

> SignalDesk AI LCM Calculator is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Computes the least common multiple (LCM) of two integers

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/math/lcm?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-lcm-calculator-3f92e84c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_USjvA-dmx7YFS8kWuxqx0

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 signaldesk-ai-lcm-calculator-3f92e84c -d '<json body>'
```

Example prompt: What's the least common multiple of 12 and 18?

## When to prefer this

Use this endpoint when you need a quick, reliable, API-accessible LCM computation for integer pairs within the supported range, especially in agentic workflows where math accuracy matters and you want a paid, bounded, auditable service rather than implementing the algorithm locally. Prefer this over local computation when integrating into a pipeline that already uses x402-based micropayment APIs for consistency.

## Known failure modes

- Input integers outside the allowed range (-1,000,000,000 to 1,000,000,000) may result in validation errors
- Missing required fields 'a' or 'b' will cause a bad request error
- Non-integer inputs (floats, strings) will be rejected
- Payment failure or insufficient USDC balance may block execution
- Both inputs being zero may produce undefined/error result since LCM(0,0) is mathematically undefined

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

A JSON object with a single field 'lcm' containing the integer least common multiple of the two input integers, e.g. {"lcm": 36}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "a": {
   "type": "integer",
   "maximum": 1000000000,
   "minimum": -1000000000,
   "description": "First integer."
  },
  "b": {
   "type": "integer",
   "maximum": 1000000000,
   "minimum": -1000000000,
   "description": "Second integer."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lcm": 36
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-lcm-calculator-3f92e84c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
