ackermann
Computes the Ackermann function A(m, n) for non-negative integers, returning the result for small inputs where m is at most 4.
Instructions
Compute the Ackermann function A(m, n).
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": {
"m": "<m>",
"n": "<n>"
},
"name": "ackermann"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| m | Yes | Non-negative integer m (max 4) | |
| n | Yes | Non-negative integer n |