Delete source
source_deletePermanently removes a source from a notebook after explicit approval; set confirm=true to delete, or confirm=false to preview a pending confirmation.
Instructions
Permanently remove one source from a notebook. With confirm=false it does nothing and returns pending_confirmation; with confirm=true it deletes and returns a confirmation message. This cannot be undone: name the source to the user and get explicit approval first.
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_id": "<notebook_id>",
"source_id": "<source_id>",
"confirm": "<confirm>"
},
"name": "source_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to delete. With false the tool only returns pending_confirmation | |
| source_id | Yes | Source ID, as listed in the notebook's sources by notebook_get | |
| notebook_id | Yes | Notebook ID, as returned by notebook_list or notebook_create |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | No | Human-readable outcome or next step |