Skip to content

notebook

This tool covers notebook CRUD, notebook configuration, and notebook-level permissions.

When to read this page: you need to list notebooks, manage notebook settings, or set notebook permission levels.

Related pages:

Common Actions

ActionRequired FieldsPermissionNotes
listnonenoneList all notebooks
createnamenoneOptional icon
set_open_statenotebook, openedreadOpen or close notebook
removenotebookdeleteConfirmation required
renamenotebook, namewriteRename notebook
get_confnotebookreadRead notebook config
set_confnotebook, confwriteUpdate config object
set_iconnotebook, iconwritePrefer Unicode hex icon
get_permissionsnone or notebooknoneInspect permissions
set_permissionnotebook, permissionnoneConfirmation required
get_child_docsnotebookreadRoot child docs

Safety Rules

  • remove requires explicit confirmation
  • set_permission changes future access behavior and should also be confirmed

Examples

MCP:

json
{ "action": "list" }
json
{ "action": "set_permission", "notebook": "<id>", "permission": "rw" }

CLI:

bash
siyuan notebook list
siyuan notebook set-permission --notebook <id> --permission rw

Released under the MIT License.