Vector Calculus Operation
vector_calculus_operationCompute gradient, divergence, curl, or Laplacian of scalar or vector fields using provided expressions and variables, returning symbolic results.
Instructions
Vector calculus operations: gradient, divergence, curl, laplacian
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": {
"operation": "<operation>",
"expression": "<expression>"
},
"name": "vector_calculus_operation"
}
}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 | |||