sympy_naturals
Obtain the set of natural numbers for symbolic algebra and number theory. Invoke without arguments.
Instructions
The set of natural numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/mcp_sympy/tools.py:2309-2312 (handler)The 'sympy_naturals' tool handler. It returns the string representation of sympy.S.Naturals, representing the set of natural numbers.
@mcp.tool() def sympy_naturals() -> str: """The set of natural numbers.""" return str(sympy.S.Naturals) - src/mcp_sympy/tools.py:2309-2309 (registration)The tool is registered via the @mcp.tool() decorator on line 2309, where 'mcp' is a FastMCP instance defined at line 119.
@mcp.tool()