renameDocumentOrNotebookEntry
Change the title of a document or notebook entry in RSpace to improve organization and clarity of research data.
Instructions
Changes the name/title of a document or notebook entry
Usage: Update document titles for better organization Returns: Updated document information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| name | Yes |
Implementation Reference
- main.py:459-471 (handler)Handler function for the 'renameDocumentOrNotebookEntry' tool, registered via @mcp.tool decorator. Renames RSpace documents or notebook entries by updating the name via the ELN client API.@mcp.tool(tags={"rspace"}, name="renameDocumentOrNotebookEntry") def rename_document( doc_id: int | str, name: str ) -> Dict[str, any]: """ Changes the name/title of a document or notebook entry Usage: Update document titles for better organization Returns: Updated document information """ resp = eln_cli.update_document(document_id=doc_id, name=name) return resp