delete_document
Deletes a Markdown document for approved cleanup; when a successor is named, it refuses deletion unless that document holds at least 70% of the content.
Instructions
Delete one Markdown document.
successor names the document that absorbed this one's content; when
given, the deletion is refused unless the successor body holds at least 70%
of the deleted body. Use it for approved cleanup (superseded notes, cards
that were folded into an article), and omit it only for content a human has
explicitly agreed to drop.
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": {
"scope": "<scope>",
"path": "<path>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| scope | Yes | ||
| successor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||