product
Compute the multiplicative total of an expression evaluated at each integer from start to end.
Instructions
When: discrete product Π f(x) for integer x from start to end inclusive. Params: expression in x; start; end; angle_mode. Example: expression="x", start=1, end=4 → 24.
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": {
"expression": "<expression>",
"start": "<start>",
"end": "<end>"
},
"name": "product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| angle_mode | No | rad | |
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |