derivative
Compute the symbolic rate of change of a mathematical expression with respect to a specified variable. Provide an expression and variable to obtain the differentiated result.
Instructions
Calculate the derivative of an expression with respect to a variable. Example: derivative('x^2', 'x') returns '2*x'
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>",
"variable": "<variable>"
},
"name": "derivative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable | Yes | Variable to differentiate with respect to | |
| expression | Yes | Mathematical expression |