find_missing_number
Finds the missing number in a sequence of integers from 0 to n where exactly one number is missing. Uses sum formula or XOR method. (cost: 1 credit)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_missing_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nums | No | array of integers, required, list containing numbers from 0 to n with one missing, no units, no default |