tool_delete_draft
Delete a draft markdown file from the local drafts folder by providing its filename or absolute path. Use it to remove unwanted or obsolete drafts from your local CSDN draft library.
Instructions
Delete a draft markdown file from the local drafts folder.
Args: file_path: Absolute path or filename of the draft to delete.
Returns: dict with {ok, message, file_path}
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": {
"file_path": "<file_path>"
},
"name": "tool_delete_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |