dot_product
Calculate the scalar product of two equal-length vectors to return magnitude, angle, and an orthogonality check for vector analysis.
Instructions
Compute the dot product of two vectors. Returns magnitude, angle, and orthogonality check.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "dot_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First vector. | |
| b | Yes | Second vector (same length). |