add
Add two integers together to calculate their sum. This mathematical tool performs basic addition operations for numerical calculations.
Instructions
Adds two numbers together.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Implementation Reference
- main.py:15-18 (handler)The 'add' tool implementation using the @mcp.tool() decorator.
@mcp.tool() def add(a: int, b: int) -> int: """Adds two numbers together.""" return a + b