m2_load_package
Loads a Macaulay2 package into the active session so its commands are available; use reload only to re-read a package after editing its source on disk.
Instructions
Load a Macaulay2 package into the session.
Packages stay loaded until the session is reset (M2 has no unload operation). Loading an already-loaded package is a harmless no-op: the tool reports that and changes nothing. Use reload=True ONLY when the package's source on disk changed and must be re-read (M2's reload machinery is fragile for packages with dependencies).
Args: name: Package name as it appears on the M2 search path, e.g. "HilbertSchemes", "CommutativeAlgebra", "BoijSoederberg". reload: Re-read the package from disk even if already loaded (package-development workflow; leave False otherwise).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| reload | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |