(input, context)
| 123 | return input.notebook_path |
| 124 | }, |
| 125 | async checkPermissions(input, context): Promise<PermissionDecision> { |
| 126 | const appState = context.getAppState() |
| 127 | return checkWritePermissionForTool( |
| 128 | NotebookEditTool, |
| 129 | input, |
| 130 | appState.toolPermissionContext, |
| 131 | ) |
| 132 | }, |
| 133 | mapToolResultToToolResultBlockParam( |
| 134 | { cell_id, edit_mode, new_source, error }, |
| 135 | toolUseID, |
nothing calls this directly
no test coverage detected