Mex
mexThe mex of a list: the smallest missing nonnegative integer. The mex of 0, 1, 3 is 2. The mex of 1, 2, 3 is 0. The mex of an empty list is 0. The list has at most 64 integers, each from 0 to 1000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/mex
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"values": "<values>"
},
"name": "mex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes |