create_vector_field
Generate vector fields in a specified coordinate system by defining x, y, and z components, aiding in symbolic mathematics and computational algebra workflows.
Instructions
Creates a vector field in the specified coordinate system.
Args:
coord_sys_name: The name of the coordinate system to use.
component_x: String expression for the x-component of the vector field.
component_y: String expression for the y-component of the vector field.
component_z: String expression for the z-component of the vector field.
Example:
# First create a coordinate system
create_coordinate_system("R")
# Create a vector field F = (y, -x, z)
vector_field = create_vector_field("R", "R_y", "-R_x", "R_z")
Returns:
A key for the vector field expression.
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": {
"coord_sys_name": "<coord_sys_name>",
"component_x": "<component_x>",
"component_y": "<component_y>",
"component_z": "<component_z>"
},
"name": "create_vector_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component_x | Yes | ||
| component_y | Yes | ||
| component_z | Yes | ||
| coord_sys_name | Yes |