notebook_analyze
Analyze Jupyter notebooks to extract code cells, verify execution order, locate imports and functions, and assess notebook health for debugging and code review.
Instructions
Analyze Jupyter notebooks (.ipynb): extract code cells, check execution order, find imports/functions, assess notebook health.
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": {
"action": "<action>"
},
"name": "notebook_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Notebook file path (required for analyze/code/health) | |
| action | Yes | analyze: full notebook breakdown, list: find all notebooks, code: extract code cells, health: quality assessment |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| action | Yes |