area
Calculate the area under a curve between two points using numerical integration. Input a mathematical expression and integration bounds to compute the enclosed region.
Instructions
Calculate the area under a curve between two points
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": "area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | ||
| start | Yes | ||
| end | Yes | ||
| n | No | Number of subintervals (default: 1000) |