vector_cross_product
Calculates the cross product of two 2D or 3D vectors. Returns the resulting vector for use in physics, engineering, and 3D graphics.
Instructions
Computes the cross product of two 2D or 3D vectors.
Args: vector_a: The first vector as a list of numbers. vector_b: The second vector as a list of numbers.
Returns: On success: {"result": } On error: {"error": }
Examples: >>> vector_cross_product([1, 2, 3], [4, 5, 6]) {'result': [-3, 6, -3]}
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": {
"vector_a": "<vector_a>",
"vector_b": "<vector_b>"
},
"name": "vector_cross_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vector_a | Yes | ||
| vector_b | Yes |