ipynb_search_notebooks
Search across multiple Jupyter Notebook files using regex patterns, with optional context retrieval for matching results.
Instructions
Search across multiple Jupyter Notebooks (.ipynb).
Args: ipynb_filepaths: List of notebook paths (absolute paths preferred) pattern: Search pattern (regex) return_context: Whether to include context
Returns: Dict with 'results' and 'match_count' or 'error' key
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": {
"ipynb_filepaths": "<ipynb_filepaths>",
"pattern": "<pattern>"
},
"name": "ipynb_search_notebooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| return_context | No | ||
| ipynb_filepaths | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||