Root Calculator
calculator_rootUse this for square root, cube root, or nth root. Examples: √25=5, ∛27=3, 4th root of 16=2.
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": {
"root_type": "<root_type>",
"value": "<value>"
},
"name": "calculator_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Root degree when root_type=nth (e.g. 4 for 4th root). | |
| value | Yes | Value under the root. | |
| root_type | Yes | square, cube, or nth. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| value | Yes | ||
| result | Yes | ||
| root_type | Yes | ||
| expression | Yes |