multiply
Calculate the product of two numbers by multiplying them together using this mathematical tool.
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() which registers it in the FastMCP server. It multiplies two float numbers and returns the result. The type hints define the input schema.@mcp.tool() def multiply(a: float, b: float) -> float: """Multiply two numbers together.""" return a * b