multiply
Calculate the product of two integers to perform multiplication operations in mathematical workflows.
Instructions
Multiply two numbers
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Implementation Reference
- main.py:19-22 (handler)The handler function for the 'multiply' tool, decorated with @mcp.tool for registration, implements multiplication of two integers with type hints defining the input/output schema.@mcp.tool def multiply(a: int, b: int) -> int: """Multiply two numbers""" return a * b