Delete a document
delete_docPermanently delete a page you own (requires an lp_ API key). The URL stops serving immediately and cannot be recovered.
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": {
"slug": "<slug>"
},
"name": "delete_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The document slug — the path part of its https://lucid.page/<slug> URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | Slug of the deleted page |