insert_and_execute_cell
Insert a cell at a given position and execute code or render markdown, with optional slideshow settings.
Instructions
Insert a cell at the specified position and execute it, and optionally set slideshow type. If code cell, it will be executed. If markdown cell, it will be rendered.
Args:
cell_type: The type of cell ('code' or 'markdown')
position: The position to insert the cell at
content: The content of the cell
slideshow_type: Optional slideshow type ('slide', 'subslide', 'fragment', 'skip', 'notes')Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_type | No | code | |
| position | No | ||
| content | No | ||
| slideshow_type | No |