Skip to content

v0.4.0

Choose a tag to compare

@yazelin yazelin released this 03 Feb 13:46
· 3 commits to main since this release

Breaking Changes

  • upload_file 參數從 file_content_base64 改為 file_path

Changes

  • upload_file 現在接受本機檔案路徑,直接讀取檔案上傳到 ERPNext
  • 移除了 base64 版本(不實用,大檔案無法透過 MCP 傳遞)

Usage

upload_file(
    file_path="/mnt/nas/files/report.pdf",
    filename="自訂檔名.pdf",  # 可選
    attached_to_doctype="Project",
    attached_to_name="PROJ-0001"
)