multiply
Multiply two numbers together to calculate their product. Use this tool for basic arithmetic multiplication operations.
Instructions
Multiply two numbers together.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Implementation Reference
- server.py:83-86 (handler)The handler function for the 'multiply' tool, decorated with @mcp.tool() for registration. It takes two floats, multiplies them, and returns the result.@mcp.tool() def multiply(a: float, b: float) -> float: """Multiply two numbers together.""" return a * b