vector_calculus_operation
Compute gradient, divergence, curl, or Laplacian of scalar and vector fields symbolically. Solve vector calculus problems using SageMath.
Instructions
Vector calculus operations: gradient, divergence, curl, laplacian
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 |
| operation | Yes | One of: gradient, divergence, curl, laplacian | |
| variables | No | Variable names (e.g. ['x', 'y', 'z']) | |
| expression | Yes | Scalar field (string) for gradient/laplacian, or vector field components (list) for divergence/curl |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||