sympy_emptyset
Generate an empty set for symbolic algebra, useful as a starting point in set operations or representing no solutions.
Instructions
Empty set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/mcp_sympy/tools.py:2321-2324 (handler)The function that implements the 'sympy_emptyset' tool. It returns the string representation of SymPy's EmptySet.
@mcp.tool() def sympy_emptyset() -> str: """Empty set.""" return str(EmptySet()) - src/mcp_sympy/tools.py:2320-2321 (registration)The @mcp.tool() decorator that registers 'sympy_emptyset' as an MCP tool.
@mcp.tool() - src/mcp_sympy/tools.py:12-12 (helper)Import of EmptySet from sympy, which is used by the emptyset tool.
EmptySet,