vector_norm
Calculate vector magnitude (norm) for linear algebra applications. Supports customizable p-norm calculations to determine vector length from components.
Instructions
Calculate the norm (magnitude) of a vector (Domain: linear_algebra.vectors, Category: general)
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": "<vector>"
},
"name": "vector_norm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vector | Yes | ||
| p | No |