definite_integral
Evaluate the definite integral of an expression over a given interval, with support for infinite and pi bounds.
Instructions
Definite integral of expression from lower to upper.
Bounds are expressions, so oo / -oo / pi are accepted.
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>"
},
"name": "definite_integral"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lower | No | 0 | |
| upper | No | 1 | |
| variable | No | x | |
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |