differentiate_expression
Compute symbolic derivatives of a mathematical expression with respect to a chosen variable, including higher-order derivatives.
Instructions
Differentiate an expression with respect to a variable
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 | |||