read_notebook
Reads a Marimo notebook .py file and returns its contents for inspection, analysis, or editing.
Instructions
Read a Marimo notebook .py file and return its contents.
Args: notebook_path: Path to the .py notebook file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"notebook_path": "<notebook_path>"
},
"name": "read_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |