Get Dependency Graph
get_dependency_graphMap cell dependencies in a marimo notebook: see which variables each cell defines and references, plus parent/child links, ownership, and issues like cycles.
Instructions
Get the cell dependency graph showing variable relationships.
Reveals which variables each cell defines and references, parent/child relationships between cells, variable ownership, and dependency issues like multiply-defined variables or cycles. The graph is always the FULL notebook graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | NOT IMPLEMENTED — supplying a non-zero value is refused for the same reason. | |
| cell_id | No | NOT IMPLEMENTED — supplying it is refused (``reason: unsupported_argument``) instead of silently ignored. | |
| server_url | No | Optional server URL override. Optional if an active server_url is bound. | |
| session_id | No | Session ID from list_active_notebooks. Optional if an active session is bound. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||