sqrt
Calculate the square root of a number using the Calculator MCP server. Input a numeric value to receive precise results instantly.
Instructions
计算平方根
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes |
Implementation Reference
- calculator.py:38-41 (handler)The 'sqrt' tool handler. Decorated with @mcp.tool() to register it. Takes a float 'number' and returns its square root using math.sqrt.@mcp.tool() def sqrt(number: float) -> float: """计算平方根""" return math.sqrt(number)