SiYuan Document Tool icon

SiYuan Document Tool

Use this tool to create, read, list, and manage documents in the SiYuan knowledge base. Use "getContent" to read a document, "create" to write a new one, "listInNotebook" to browse, or "exportMd" for full markdown export.

Remove

AI-generated

Summary

Delete a document by its unique document ID from the SiYuan knowledge base.

Inputs

  • Document ID (required) — The unique ID of the document to delete.

Output shape

no body — success/failure only

Returns an empty success response if the deletion succeeds; otherwise, errors are thrown.

Links

Discussion