docshelf_remove_document
Remove a document from a docshelf by filename, slug, or title, deleting its file, sections, and metadata while regenerating INDEX.md. Supports dry-run to preview changes.
Instructions
Remove a document — its file, split sections, and metadata entry.
Accepts the filename, the slug, or the human title used at add time.
INDEX.md is regenerated automatically. Pass dry_run=true to see
what would be deleted without touching anything. The caller still owns
the git commit / push step.
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": {
"params": "<params>"
},
"name": "docshelf_remove_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |