binomial
Compute the binomial coefficient C(n,k) for given non-negative integers n and k.
Instructions
Compute the binomial coefficient C(n,k).
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": {
"n": "<n>",
"k": "<k>"
},
"name": "binomial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | Non-negative integer. | |
| n | Yes | Non-negative integer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |