calculate_tensor
Compute tensors from a specified metric using EinsteinPy's symbolic library. Supports tensor type selection and result simplification for streamlined symbolic algebra operations.
Instructions
Calculates a tensor from a metric using einsteinpy.symbolic.
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": {
"metric_key": "<metric_key>",
"tensor_type": "<tensor_type>"
},
"name": "calculate_tensor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric_key | Yes | ||
| simplify_result | No | ||
| tensor_type | Yes |