Differentiate Expression
differentiate_expressionDifferentiate a mathematical expression symbolically with respect to a specified variable, including higher-order derivatives. Solves calculus problems by returning the exact derivative.
Instructions
Differentiate an expression with respect to a variable
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": "differentiate_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Order of differentiation (1 = first, 2 = second, etc.) | |
| session | No | Workspace to use, as a name or a portable handle. Workspaces have independent variables. A name is scoped to this MCP session; a handle returned by start_sage_session (workspace_token) reaches the same workspace across reconnects and is a bearer credential -- keep it secret. Omit for 'default'. | default |
| variable | No | Variable for differentiation | x |
| expression | Yes | Expression to differentiate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||