open_notebook_file
Open an existing Mathematica notebook file (.nb) in the Mathematica frontend. Supports absolute, home-relative, and relative paths.
Instructions
Open an existing Mathematica notebook file (.nb) in the Mathematica frontend.
Supports:
Absolute paths: /Users/foo/notebook.nb
Home-relative paths: ~/Documents/notebook.nb
Relative paths (resolved from current directory)
Args: path: Path to the .nb file
Returns: Notebook ID and metadata for use with other notebook commands
Example: open_notebook_file("~/Documents/analysis.nb") -> {id: "NotebookObject[...]", cell_count: 15}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |