solve_ode
Solve any ordinary differential equation and return its general solution with arbitrary constants. Use this instead of a general evaluator for ODE problems.
Instructions
Solve an ordinary differential equation of any order, returning the general solution with arbitrary constants. Prefer this over evaluate_sage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
| equation | Yes | ODE string, e.g., "diff(y(x),x) + y(x) = 0" | |
| function | No | Dependent function name (e.g., 'y') | y |
| variable | No | Independent variable (e.g., 'x') | x |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||