m2_list_packages
List all Macaulay2 packages currently loaded in the active session to quickly verify available libraries and ensure required tools are present.
Instructions
List the Macaulay2 packages currently loaded in the session.
Returns the package names, e.g. {Varieties, Complexes, PrimaryDecomposition, Core, ...}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "m2_list_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |