lightpdf-aipdf-mcp 0.1.73__py3-none-any.whl → 0.1.75__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,19 +56,13 @@ def generate_result_report(
56
56
  # 添加成功的文件信息
57
57
  report_obj["success_files"].append({
58
58
  "download_url": result.download_url,
59
- "original_info": {
60
- "path": result.file_path,
61
- "name": result.original_name,
62
- }
59
+ "original_name": result.original_name,
63
60
  })
64
61
  else:
65
62
  # 添加失败的文件信息
66
63
  report_obj["failed_files"].append({
67
64
  "error_message": result.error_message,
68
- "original_info": {
69
- "path": result.file_path,
70
- "name": result.original_name,
71
- }
65
+ "original_name": result.original_name,
72
66
  })
73
67
 
74
68
  # 返回JSON字符串
@@ -370,7 +364,7 @@ async def handle_list_tools() -> list[types.Tool]:
370
364
  "properties": {
371
365
  "path": {
372
366
  "type": "string",
373
- "description": "文件路径或URL"
367
+ "description": "文件URL,必须包含协议部分,支持http/https/oss"
374
368
  },
375
369
  "password": {
376
370
  "type": "string",
@@ -412,7 +406,7 @@ async def handle_list_tools() -> list[types.Tool]:
412
406
  "properties": {
413
407
  "path": {
414
408
  "type": "string",
415
- "description": "PDF文件路径或URL"
409
+ "description": "PDF文件URL,必须包含协议部分,支持http/https/oss"
416
410
  },
417
411
  "password": {
418
412
  "type": "string",
@@ -462,7 +456,7 @@ async def handle_list_tools() -> list[types.Tool]:
462
456
  "properties": {
463
457
  "path": {
464
458
  "type": "string",
465
- "description": "PDF文件路径或URL"
459
+ "description": "PDF文件URL,必须包含协议部分,支持http/https/oss"
466
460
  },
467
461
  "password": {
468
462
  "type": "string",
@@ -494,7 +488,7 @@ async def handle_list_tools() -> list[types.Tool]:
494
488
  "properties": {
495
489
  "path": {
496
490
  "type": "string",
497
- "description": "需要添加水印的PDF文件路径或URL"
491
+ "description": "需要添加水印的PDF文件URL,必须包含协议部分,支持http/https/oss"
498
492
  },
499
493
  "password": {
500
494
  "type": "string",
@@ -566,7 +560,7 @@ async def handle_list_tools() -> list[types.Tool]:
566
560
  "properties": {
567
561
  "path": {
568
562
  "type": "string",
569
- "description": "需要解密的PDF文件路径或URL"
563
+ "description": "需要解密的PDF文件URL,必须包含协议部分,支持http/https/oss"
570
564
  },
571
565
  "password": {
572
566
  "type": "string",
@@ -598,7 +592,7 @@ async def handle_list_tools() -> list[types.Tool]:
598
592
  "properties": {
599
593
  "path": {
600
594
  "type": "string",
601
- "description": "需要加密的PDF文件路径或URL"
595
+ "description": "需要加密的PDF文件URL,必须包含协议部分,支持http/https/oss"
602
596
  },
603
597
  "password": {
604
598
  "type": "string",
@@ -634,7 +628,7 @@ async def handle_list_tools() -> list[types.Tool]:
634
628
  "properties": {
635
629
  "path": {
636
630
  "type": "string",
637
- "description": "需要压缩的PDF文件路径或URL"
631
+ "description": "需要压缩的PDF文件URL,必须包含协议部分,支持http/https/oss"
638
632
  },
639
633
  "password": {
640
634
  "type": "string",
@@ -673,7 +667,7 @@ async def handle_list_tools() -> list[types.Tool]:
673
667
  "properties": {
674
668
  "path": {
675
669
  "type": "string",
676
- "description": "需要拆分的PDF文件路径或URL"
670
+ "description": "需要拆分的PDF文件URL,必须包含协议部分,支持http/https/oss"
677
671
  },
678
672
  "password": {
679
673
  "type": "string",
@@ -721,7 +715,7 @@ async def handle_list_tools() -> list[types.Tool]:
721
715
  "properties": {
722
716
  "path": {
723
717
  "type": "string",
724
- "description": "需要合并的PDF文件路径或URL"
718
+ "description": "需要合并的PDF文件URL,必须包含协议部分,支持http/https/oss"
725
719
  },
726
720
  "password": {
727
721
  "type": "string",
@@ -753,7 +747,7 @@ async def handle_list_tools() -> list[types.Tool]:
753
747
  "properties": {
754
748
  "path": {
755
749
  "type": "string",
756
- "description": "需要旋转的PDF文件路径或URL"
750
+ "description": "需要旋转的PDF文件URL,必须包含协议部分,支持http/https/oss"
757
751
  },
758
752
  "password": {
759
753
  "type": "string",
@@ -806,7 +800,7 @@ async def handle_list_tools() -> list[types.Tool]:
806
800
  "properties": {
807
801
  "path": {
808
802
  "type": "string",
809
- "description": "需要去除白边的PDF文件路径或URL"
803
+ "description": "需要去除白边的PDF文件URL,必须包含协议部分,支持http/https/oss"
810
804
  },
811
805
  "password": {
812
806
  "type": "string",
@@ -838,7 +832,7 @@ async def handle_list_tools() -> list[types.Tool]:
838
832
  "properties": {
839
833
  "path": {
840
834
  "type": "string",
841
- "description": "需要提取图片的PDF文件路径或URL"
835
+ "description": "需要提取图片的PDF文件URL,必须包含协议部分,支持http/https/oss"
842
836
  },
843
837
  "password": {
844
838
  "type": "string",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lightpdf-aipdf-mcp
3
- Version: 0.1.73
3
+ Version: 0.1.75
4
4
  Summary: MCP Server for LightPDF AI-PDF
5
5
  Author: LightPDF Team
6
6
  License: Proprietary
@@ -2,8 +2,8 @@ lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6
2
2
  lightpdf_aipdf_mcp/common.py,sha256=m_fNxU9NqJOgF3FpTWPpprPkIe60YjnU1tEN6cI660Q,6601
3
3
  lightpdf_aipdf_mcp/converter.py,sha256=CNdR2uUsA79_6Mzk6eHxo_F7Ripl14S8BdsmKJkV-94,14568
4
4
  lightpdf_aipdf_mcp/editor.py,sha256=NEBu6QUcU6xYIa8ZsAoNABEr0ADxFVKWVrHrb28mjxY,26714
5
- lightpdf_aipdf_mcp/server.py,sha256=-3FQln4Mqx5sDVOtSq_ptPJvt3OoFapMqSYRyAQwp7s,46909
6
- lightpdf_aipdf_mcp-0.1.73.dist-info/METADATA,sha256=U6ytJ1SHlKfauZXYcLlS2lxKH2qh7h6gy1ePvv56A7w,8119
7
- lightpdf_aipdf_mcp-0.1.73.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- lightpdf_aipdf_mcp-0.1.73.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
9
- lightpdf_aipdf_mcp-0.1.73.dist-info/RECORD,,
5
+ lightpdf_aipdf_mcp/server.py,sha256=ggKfRPZVAjn6Piwg-WcMAld_h7KcuijITm-gjDa__Kw,47213
6
+ lightpdf_aipdf_mcp-0.1.75.dist-info/METADATA,sha256=T9ct4bC7G_y54fGh4-ZUYrkfukRUu8jsMWM5DnS_0Yw,8119
7
+ lightpdf_aipdf_mcp-0.1.75.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ lightpdf_aipdf_mcp-0.1.75.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
9
+ lightpdf_aipdf_mcp-0.1.75.dist-info/RECORD,,