source_delete
Delete a source from a notebook irreversibly. Requires two-step confirmation to avoid accidental removal.
Instructions
Delete a source (irreversible). Accepts a notebook/source name or ID.
Two-step confirmation: with confirm=False (default) it returns a
needs_confirmation preview of the resolved source without deleting;
call again with confirm=True to perform the delete.
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": {
"notebook": "<notebook>",
"source": "<source>"
},
"name": "source_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| confirm | No | ||
| notebook | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||