add
Calculate the sum of two integer values for mathematical operations and data processing.
Instructions
Add two numbers
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Implementation Reference
- src/mcpserver/deployment.py:9-9 (registration)Registers the 'add' function as an MCP tool using the FastMCP decorator.@mcp.tool()
- src/mcpserver/deployment.py:10-12 (handler)The 'add' tool handler function that adds two integers and returns the result.def add(a: int, b: int) -> int: """Add two numbers""" return a + b