Shuffle a list
Shuffle a comma- or line-separated list into a random order (Fisher-Yates with a cryptographic random source). Use for draw orders, seating and playlists.
Inputs
| Name | Type | Description |
|---|---|---|
items (required) | string | Comma-separated items |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/random/shuffle?items=1%2C2%2C3%2C4%2C5"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/random/shuffle?items=1%2C2%2C3%2C4%2C5&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.
Example result
{
"shuffled": [
"3",
"5",
"1",
"4",
"2"
]
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is random_shuffle, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp