edit_cell
Replace a notebook cell's source code, markdown, or raw content, and optionally change its type to code, markdown, or raw.
Instructions
Replace a cell's source and optionally its type.
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": {
"path": "<path>",
"index": "<index>",
"source": "<source>"
},
"name": "edit_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| index | Yes | ||
| source | Yes | ||
| cell_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||