openboost-cli 0.1.0__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.
Files changed (76) hide show
  1. openboost_cli-0.1.0.dist-info/METADATA +153 -0
  2. openboost_cli-0.1.0.dist-info/RECORD +76 -0
  3. openboost_cli-0.1.0.dist-info/WHEEL +5 -0
  4. openboost_cli-0.1.0.dist-info/entry_points.txt +2 -0
  5. openboost_cli-0.1.0.dist-info/licenses/LICENSE +21 -0
  6. openboost_cli-0.1.0.dist-info/top_level.txt +1 -0
  7. proboost_cli/__init__.py +21 -0
  8. proboost_cli/cli/__init__.py +1 -0
  9. proboost_cli/cli/interactive.py +107 -0
  10. proboost_cli/cli/main.py +566 -0
  11. proboost_cli/client.py +58 -0
  12. proboost_cli/coerce_args.py +62 -0
  13. proboost_cli/config.py +109 -0
  14. proboost_cli/mcp_client.py +113 -0
  15. proboost_cli/parse_result.py +53 -0
  16. proboost_cli/registry.py +112 -0
  17. proboost_cli/schemas/__init__.py +1 -0
  18. proboost_cli/schemas/amazon/__init__.py +1 -0
  19. proboost_cli/schemas/amazon/amz_category_query.json +20 -0
  20. proboost_cli/schemas/amazon/amz_hot_amz_hot_cat_tree.json +25 -0
  21. proboost_cli/schemas/amazon/amz_hot_amz_hot_list.json +33 -0
  22. proboost_cli/schemas/amazon/amz_market_price.json +28 -0
  23. proboost_cli/schemas/amazon/amz_product_selection.json +140 -0
  24. proboost_cli/schemas/amazon/amz_review_query.json +28 -0
  25. proboost_cli/schemas/amazon/amz_sales_query.json +20 -0
  26. proboost_cli/schemas/amazon/amz_sku_query.json +20 -0
  27. proboost_cli/schemas/patent/__init__.py +1 -0
  28. proboost_cli/schemas/patent/patent_abstract_image.json +17 -0
  29. proboost_cli/schemas/patent/patent_abstract_translated.json +28 -0
  30. proboost_cli/schemas/patent/patent_bibliography.json +17 -0
  31. proboost_cli/schemas/patent/patent_claim_data.json +21 -0
  32. proboost_cli/schemas/patent/patent_claim_translated.json +28 -0
  33. proboost_cli/schemas/patent/patent_description.json +21 -0
  34. proboost_cli/schemas/patent/patent_description_translated.json +28 -0
  35. proboost_cli/schemas/patent/patent_family.json +17 -0
  36. proboost_cli/schemas/patent/patent_fulltext_image.json +29 -0
  37. proboost_cli/schemas/patent/patent_image_search_multiple.json +117 -0
  38. proboost_cli/schemas/patent/patent_image_search_single.json +114 -0
  39. proboost_cli/schemas/patent/patent_legal_status.json +17 -0
  40. proboost_cli/schemas/patent/patent_pdf.json +21 -0
  41. proboost_cli/schemas/patent/patent_query_count.json +36 -0
  42. proboost_cli/schemas/patent/patent_query_search.json +40 -0
  43. proboost_cli/schemas/patent/patent_query_search_with_agg.json +55 -0
  44. proboost_cli/schemas/patent/patent_semantic_search.json +48 -0
  45. proboost_cli/schemas/tiktok/__init__.py +1 -0
  46. proboost_cli/schemas/tiktok/tk_expert_sale_show.json +20 -0
  47. proboost_cli/schemas/tiktok/tt_commodity_detail.json +21 -0
  48. proboost_cli/schemas/tiktok/tt_commodity_expert_draw_expert_trend.json +20 -0
  49. proboost_cli/schemas/tiktok/tt_commodity_get_commodity_cat_tree.json +8 -0
  50. proboost_cli/schemas/tiktok/tt_commodity_info_list.json +180 -0
  51. proboost_cli/schemas/tiktok/tt_commodity_sales_trend.json +33 -0
  52. proboost_cli/schemas/tiktok/tt_commodity_statistics_get_category_statistics.json +28 -0
  53. proboost_cli/schemas/tiktok/tt_commodity_statistics_get_expert_statistics.json +28 -0
  54. proboost_cli/schemas/tiktok/tt_commodity_statistics_get_price_statistics.json +28 -0
  55. proboost_cli/schemas/tiktok/tt_commodity_statistics_get_total_statistics.json +28 -0
  56. proboost_cli/schemas/tiktok/tt_commodity_voice_analyze.json +36 -0
  57. proboost_cli/schemas/tiktok/tt_expert_basic_analyze.json +24 -0
  58. proboost_cli/schemas/tiktok/tt_expert_category_analyze.json +29 -0
  59. proboost_cli/schemas/tiktok/tt_expert_detail.json +20 -0
  60. proboost_cli/schemas/tiktok/tt_expert_fans_analyze.json +20 -0
  61. proboost_cli/schemas/tiktok/tt_expert_fans_portrait.json +20 -0
  62. proboost_cli/schemas/tiktok/tt_expert_info_list.json +180 -0
  63. proboost_cli/schemas/tiktok/tt_sale_channel_sale_channel.json +26 -0
  64. proboost_cli/schemas/tiktok/tt_shop_commodity_account_list.json +28 -0
  65. proboost_cli/schemas/tiktok/tt_shop_detail.json +28 -0
  66. proboost_cli/schemas/tiktok/tt_shop_info_list.json +108 -0
  67. proboost_cli/schemas/tiktok/tt_shop_market_info.json +28 -0
  68. proboost_cli/schemas/tiktok/tt_shop_sales_trend.json +33 -0
  69. proboost_cli/schemas/tiktok/tt_video_content.json +20 -0
  70. proboost_cli/schemas/tiktok/tt_video_detail.json +20 -0
  71. proboost_cli/schemas/tiktok/tt_video_info_list.json +152 -0
  72. proboost_cli/schemas/tiktok/tt_video_new_video_summary.json +20 -0
  73. proboost_cli/schemas/tiktok/tt_video_script_diy_query.json +20 -0
  74. proboost_cli/schemas/tiktok/tt_video_voice_read.json +28 -0
  75. proboost_cli/schemas/tiktok/tt_video_voice_summary.json +28 -0
  76. proboost_cli/schemas_loader.py +49 -0
@@ -0,0 +1,140 @@
1
+ {
2
+ "name": "amz_product_selection",
3
+ "description": "AMZ 选品 V2:按站点与多条件组合筛选 AMZ SKU 分页结果,支持子类目与单字段(sortField/sortOrder)或多字段(sortFields)排序;不传 ds 时取该站点下最新数据分区。各 min/max 成对出现时需 min≤max。返回 data 为分页对象,含 total 与 records(SKU 行字段见响应模板附录表 1.1)。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "busCntyCn": {
8
+ "description": "卖家所属地(bus_cnty_cn),多个值逗号分隔,精确匹配",
9
+ "type": "string"
10
+ },
11
+ "catId": {
12
+ "description": "类目 ID(cat_id),多个值逗号分隔,精确匹配。includeSubCategories 为 true 时同时按 cat_id_paths 匹配子类目;为 false 或不传时仅匹配 cat_id",
13
+ "type": "string"
14
+ },
15
+ "catName": {
16
+ "description": "类目名称(cat_name),多个值逗号分隔,模糊匹配",
17
+ "type": "string"
18
+ },
19
+ "ds": {
20
+ "description": "分区日 ds,如 20260412;不传则使用该站点下最新分区",
21
+ "type": "string"
22
+ },
23
+ "endCreateTime": {
24
+ "description": "采集时间结束(create_at),如 2026-03-16 23:59:59",
25
+ "type": "string"
26
+ },
27
+ "includeSubCategories": {
28
+ "description": "是否包含子类目,默认 false;为 true 时按 cat_id_paths 查指定类目及其子类目",
29
+ "type": "boolean"
30
+ },
31
+ "maxDateFirstAvailable": {
32
+ "description": "上架时间结束(date_first_available),如 20260101",
33
+ "type": "string"
34
+ },
35
+ "maxPrice": {
36
+ "description": "售价上限,数值型字符串,对应 selling_price_dig 筛选",
37
+ "type": "string"
38
+ },
39
+ "maxRating": {
40
+ "description": "评分上限(reviews_stars),如 5.0;请求体 JSON 中为 number,与 DTO 一致",
41
+ "type": "string"
42
+ },
43
+ "maxReviewsRatings": {
44
+ "description": "评价数上限(reviews_ratings)",
45
+ "type": "integer"
46
+ },
47
+ "maxSellerItemCnt": {
48
+ "description": "店铺商品数上限(seller_item_cnt)",
49
+ "type": "integer"
50
+ },
51
+ "maxSkuCnt": {
52
+ "description": "变体数上限(sku_cnt)",
53
+ "type": "integer"
54
+ },
55
+ "maxSkuSalesLast30d": {
56
+ "description": "近 30 天 SKU 销量上限(sku_sales_last_30d)",
57
+ "type": "integer"
58
+ },
59
+ "maxSpuSalesLast30d": {
60
+ "description": "近 30 天 SPU 销量上限(spu_sales_last_30d)",
61
+ "type": "integer"
62
+ },
63
+ "minDateFirstAvailable": {
64
+ "description": "上架时间起始(date_first_available),如 20220512",
65
+ "type": "string"
66
+ },
67
+ "minPrice": {
68
+ "description": "售价下限,数值型字符串,对应 selling_price_dig 筛选",
69
+ "type": "string"
70
+ },
71
+ "minRating": {
72
+ "description": "评分下限(reviews_stars),如 3.5;请求体 JSON 中为 number,与 DTO 一致",
73
+ "type": "string"
74
+ },
75
+ "minReviewsRatings": {
76
+ "description": "评价数下限(reviews_ratings)",
77
+ "type": "integer"
78
+ },
79
+ "minSellerItemCnt": {
80
+ "description": "店铺商品数下限(seller_item_cnt)",
81
+ "type": "integer"
82
+ },
83
+ "minSkuCnt": {
84
+ "description": "变体数下限(sku_cnt,当前 SPU 下 SKU 数量)",
85
+ "type": "integer"
86
+ },
87
+ "minSkuSalesLast30d": {
88
+ "description": "近 30 天 SKU 销量下限(sku_sales_last_30d)",
89
+ "type": "integer"
90
+ },
91
+ "minSpuSalesLast30d": {
92
+ "description": "近 30 天 SPU 销量下限(spu_sales_last_30d)",
93
+ "type": "integer"
94
+ },
95
+ "pages": {
96
+ "description": "页码,从 1 起,默认 1",
97
+ "type": "integer"
98
+ },
99
+ "pagesSize": {
100
+ "description": "每页条数,默认 10,最大 50",
101
+ "type": "integer"
102
+ },
103
+ "sellerName": {
104
+ "description": "卖家名称(seller_name),模糊匹配",
105
+ "type": "string"
106
+ },
107
+ "skuId": {
108
+ "description": "SKU ID,多个值逗号分隔,精确匹配",
109
+ "type": "string"
110
+ },
111
+ "sortField": {
112
+ "description": "单字段排序:字段名。可选 sku_id、spu_id、selling_price_dig、reviews_stars、reviews_ratings、spu_sales_last_30d、sku_sales_last_30d、sku_cnt、seller_item_cnt、create_at、date_first_available、cat_id。与 sortFields 同时存在时优先 sortFields;均未传时默认先 cat_id 升序再 sku_id 降序",
113
+ "type": "string"
114
+ },
115
+ "sortFields": {
116
+ "description": "多字段排序,数组元素为 { sortField, sortOrder },优先于 sortField/sortOrder。sortOrder 为 asc 或 desc",
117
+ "type": "array"
118
+ },
119
+ "sortOrder": {
120
+ "description": "单字段排序:asc 或 desc,默认 asc。须与 sortField 成对使用",
121
+ "type": "string"
122
+ },
123
+ "spuId": {
124
+ "description": "SPU ID,多个值逗号分隔,精确匹配",
125
+ "type": "string"
126
+ },
127
+ "startCreateTime": {
128
+ "description": "采集时间起始(create_at),如 2026-03-16 00:00:00",
129
+ "type": "string"
130
+ },
131
+ "webSiteId": {
132
+ "description": "站点 ID,须非空;用于路由分表。支持:1=美国、2=英国、3=德国、4=法国、5=日本、6=加拿大、8=意大利、9=西班牙、10=印度、11=墨西哥、12=澳大利亚、13=巴西、17=波兰、21=阿联酋、22=沙特、23=埃及",
133
+ "type": "string"
134
+ }
135
+ },
136
+ "required": [
137
+ "webSiteId"
138
+ ]
139
+ }
140
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "amz_review_query",
3
+ "description": "分页查询 AMZ 评论(Hologres);按评论时间从新到旧",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "current": {
8
+ "description": "页码,从 1 开始,默认 1",
9
+ "type": "integer"
10
+ },
11
+ "size": {
12
+ "description": "每页条数,默认 100,最大 500",
13
+ "type": "integer"
14
+ },
15
+ "skuId": {
16
+ "description": "AMZ SKU ID",
17
+ "type": "string"
18
+ },
19
+ "webSiteId": {
20
+ "description": "站点 ID;不传或空则默认 1",
21
+ "type": "string"
22
+ }
23
+ },
24
+ "required": [
25
+ "skuId"
26
+ ]
27
+ }
28
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "amz_sales_query",
3
+ "description": "按分区日期与 SKU 查询 AMZ 销量相关指标(Hologres big_prd / api_holo);可选 webSiteId 限定站点",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "skuId": {
8
+ "description": "AMZ SKU ID",
9
+ "type": "string"
10
+ },
11
+ "webSiteId": {
12
+ "description": "站点 ID,可选;为空则返回所有站点",
13
+ "type": "string"
14
+ }
15
+ },
16
+ "required": [
17
+ "skuId"
18
+ ]
19
+ }
20
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "amz_sku_query",
3
+ "description": "按分区日期与 AMZ SKU ID 查询 SKU 详情;可选 webSiteId 限定站点",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "skuId": {
8
+ "description": "AMZ SKU ID",
9
+ "type": "string"
10
+ },
11
+ "webSiteId": {
12
+ "description": "站点 ID,可选;为空则返回该日期下该 SKU 在所有站点的行",
13
+ "type": "string"
14
+ }
15
+ },
16
+ "required": [
17
+ "skuId"
18
+ ]
19
+ }
20
+ }
@@ -0,0 +1 @@
1
+ """Patent MCP tool manifests."""
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "patent_abstract_image",
3
+ "description": "查询专利摘要附图:返回每条专利摘要附图的序号(num)与下载地址(path)。patent_id 与 patent_number 至少传其一;支持批量,逗号分隔最多 100 条。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "patent_id": {
8
+ "description": "专利 ID;与 patent_number 至少填其一。批量时多个 ID 用英文逗号分隔,≤100 条",
9
+ "type": "string"
10
+ },
11
+ "patent_number": {
12
+ "description": "公开(公告)号;批量规则同 patent_id",
13
+ "type": "string"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "patent_abstract_translated",
3
+ "description": "查询专利摘要翻译:返回指定目标语言(lang)的标题译文(title)与摘要译文(abstract)。patent_id 与 patent_number 至少传其一;可通过 replace_by_related=1 在无数据时使用同族替代;支持批量,逗号分隔最多 100 条。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "lang": {
8
+ "description": "翻译目标语言代码,如 cn(中文)、en(英文)、jp(日文)",
9
+ "type": "string"
10
+ },
11
+ "patent_id": {
12
+ "description": "专利 ID;与 patent_number 至少填其一。批量时多个 ID 用英文逗号分隔,≤100 条",
13
+ "type": "string"
14
+ },
15
+ "patent_number": {
16
+ "description": "公开(公告)号;批量规则同 patent_id",
17
+ "type": "string"
18
+ },
19
+ "replace_by_related": {
20
+ "description": "无数据时是否用同族替代:1=是,0=否(默认)",
21
+ "type": "integer"
22
+ }
23
+ },
24
+ "required": [
25
+ "lang"
26
+ ]
27
+ }
28
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "patent_bibliography",
3
+ "description": "查询专利著录项目:通过 patent_id 或 patent_number 获取单条专利的完整著录信息(申请信息、发明人、代理机构、摘要、分类号、引用等百余字段)。patent_id 与 patent_number 至少传其一;支持批量,逗号分隔最多 100 条。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "patent_id": {
8
+ "description": "专利 ID;与 patent_number 至少填其一,同时填写时优先使用。批量时多个 ID 用英文逗号分隔,≤100 条",
9
+ "type": "string"
10
+ },
11
+ "patent_number": {
12
+ "description": "公开(公告)号,如 US11205304B2;批量规则同 patent_id",
13
+ "type": "string"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "patent_claim_data",
3
+ "description": "查询专利权利要求原文:返回每条专利的权利要求文本(claim_text)、语言、数量及独立权项数。patent_id 与 patent_number 至少传其一;可通过 replace_by_related=1 在无数据时使用同族替代;支持批量,逗号分隔最多 100 条。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "patent_id": {
8
+ "description": "专利 ID;与 patent_number 至少填其一。批量时多个 ID 用英文逗号分隔,≤100 条",
9
+ "type": "string"
10
+ },
11
+ "patent_number": {
12
+ "description": "公开(公告)号;批量规则同 patent_id",
13
+ "type": "string"
14
+ },
15
+ "replace_by_related": {
16
+ "description": "无数据时是否用同族替代:1=是,0=否(默认)",
17
+ "type": "integer"
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "patent_claim_translated",
3
+ "description": "查询专利权利要求翻译:返回指定目标语言(lang)的权利要求译文。patent_id 与 patent_number 至少传其一;可通过 replace_by_related=1 在无数据时使用同族替代;支持批量,逗号分隔最多 100 条。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "lang": {
8
+ "description": "翻译目标语言代码,如 cn(中文)、en(英文)、jp(日文);具体取值以联调与平台约定为准",
9
+ "type": "string"
10
+ },
11
+ "patent_id": {
12
+ "description": "专利 ID;与 patent_number 至少填其一。批量时多个 ID 用英文逗号分隔,≤100 条",
13
+ "type": "string"
14
+ },
15
+ "patent_number": {
16
+ "description": "公开(公告)号;批量规则同 patent_id",
17
+ "type": "string"
18
+ },
19
+ "replace_by_related": {
20
+ "description": "无数据时是否用同族替代:1=是,0=否(默认)",
21
+ "type": "integer"
22
+ }
23
+ },
24
+ "required": [
25
+ "lang"
26
+ ]
27
+ }
28
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "patent_description",
3
+ "description": "查询专利说明书原文:返回每条专利的说明书正文(description[].text)、语言及数据格式。patent_id 与 patent_number 至少传其一;可通过 replace_by_related=1 在无数据时使用同族替代;支持批量,逗号分隔最多 100 条。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "patent_id": {
8
+ "description": "专利 ID;与 patent_number 至少填其一。批量时多个 ID 用英文逗号分隔,≤100 条",
9
+ "type": "string"
10
+ },
11
+ "patent_number": {
12
+ "description": "公开(公告)号;批量规则同 patent_id",
13
+ "type": "string"
14
+ },
15
+ "replace_by_related": {
16
+ "description": "无数据时是否用同族替代:1=是,0=否(默认)",
17
+ "type": "integer"
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "patent_description_translated",
3
+ "description": "查询专利说明书翻译:返回指定目标语言(lang)的说明书译文。patent_id 与 patent_number 至少传其一;可通过 replace_by_related=1 在无数据时使用同族替代;支持批量,逗号分隔最多 100 条。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "lang": {
8
+ "description": "翻译目标语言代码,如 cn(中文)、en(英文)、jp(日文)",
9
+ "type": "string"
10
+ },
11
+ "patent_id": {
12
+ "description": "专利 ID;与 patent_number 至少填其一。批量时多个 ID 用英文逗号分隔,≤100 条",
13
+ "type": "string"
14
+ },
15
+ "patent_number": {
16
+ "description": "公开(公告)号;批量规则同 patent_id",
17
+ "type": "string"
18
+ },
19
+ "replace_by_related": {
20
+ "description": "无数据时是否用同族替代:1=是,0=否(默认)",
21
+ "type": "integer"
22
+ }
23
+ },
24
+ "required": [
25
+ "lang"
26
+ ]
27
+ }
28
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "patent_family",
3
+ "description": "查询专利同族:返回简单同族(simple_family)、INPADOC 同族(inpadoc_family)、平台扩展同族(patsnap_family)及对应族 ID。patent_id 与 patent_number 至少传其一;支持批量,逗号分隔最多 100 条。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "patent_id": {
8
+ "description": "专利 ID;与 patent_number 至少填其一。批量时多个 ID 用英文逗号分隔,≤100 条",
9
+ "type": "string"
10
+ },
11
+ "patent_number": {
12
+ "description": "公开(公告)号;批量规则同 patent_id",
13
+ "type": "string"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "patent_fulltext_image",
3
+ "description": "查询专利全文附图:分页返回专利全部附图的下载地址(fulltext_image[].path)与图片类型。patent_id 与 patent_number 至少传其一;limit 最大 100,默认 100;offset 默认 0;支持分页翻取所有附图。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "limit": {
8
+ "description": "单次返回附图条数上限,最大 100,默认 100",
9
+ "type": "integer"
10
+ },
11
+ "offset": {
12
+ "description": "分页偏移,默认 0",
13
+ "type": "integer"
14
+ },
15
+ "patent_id": {
16
+ "description": "专利 ID;与 patent_number 至少填其一",
17
+ "type": "string"
18
+ },
19
+ "patent_number": {
20
+ "description": "公开(公告)号;与 patent_id 二选一",
21
+ "type": "string"
22
+ }
23
+ },
24
+ "required": [
25
+ "limit",
26
+ "offset"
27
+ ]
28
+ }
29
+ }
@@ -0,0 +1,117 @@
1
+ {
2
+ "name": "patent_image_search_multiple",
3
+ "description": "专利图像检索(多图):提交 1~4 张图片的公网 URL,多图融合检索相似专利。必填 urls(**JSON 数组**,1~4 个字符串 URL)、model、patent_type;model=1 时图片顺序影响重排结果。其余筛选参数与单图接口一致。经 MCP 调用时须传 **数组类型**;将 urls 作为单层 JSON 字符串发送会导致上游反序列化失败(error_code 20000)。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "apply_end_time": {
8
+ "description": "申请日结束,格式 yyyyMMdd",
9
+ "type": "string"
10
+ },
11
+ "apply_start_time": {
12
+ "description": "申请日开始,格式 yyyyMMdd",
13
+ "type": "string"
14
+ },
15
+ "assignees": {
16
+ "description": "筛选申请(专利权)人",
17
+ "type": "string"
18
+ },
19
+ "country": {
20
+ "description": "国家/地区代码 JSON 数组字符串,如 [\"CN\",\"US\"];代码表以交付文档为准",
21
+ "type": "string"
22
+ },
23
+ "field": {
24
+ "description": "排序字段:SCORE 最相关 / APD 申请日 / PBD 公开日 / ISD 授权日",
25
+ "type": "string"
26
+ },
27
+ "include_machine_translation": {
28
+ "description": "是否包含机器翻译数据",
29
+ "type": "boolean"
30
+ },
31
+ "is_https": {
32
+ "description": "1=返回 https 图片地址;0=返回 http(默认)",
33
+ "type": "integer"
34
+ },
35
+ "lang": {
36
+ "description": "original 原文(默认)/ cn 中文译题 / en 英文译题",
37
+ "type": "string"
38
+ },
39
+ "legal_status": {
40
+ "description": "法律状态码,多选逗号分隔;含公开、实审、授权、驳回、失效、PCT 等,以联调为准",
41
+ "type": "string"
42
+ },
43
+ "limit": {
44
+ "description": "返回条数,默认 10,范围 1~100",
45
+ "type": "integer"
46
+ },
47
+ "loc": {
48
+ "description": "洛迦诺外观分类检索式,可用 AND/OR/NOT 组合",
49
+ "type": "string"
50
+ },
51
+ "main_field": {
52
+ "description": "通用检索字段,覆盖标题/摘要/权项/说明书/编号/申请人/发明人/分类号等",
53
+ "type": "string"
54
+ },
55
+ "model": {
56
+ "description": "检索模型:外观专利 1=智能联想(推荐)/2=搜索此图;实用新型 3=匹配形状/4=匹配形状+图案+色彩(推荐)",
57
+ "type": "integer"
58
+ },
59
+ "offset": {
60
+ "description": "起始偏移,默认 0,范围 0~1000",
61
+ "type": "integer"
62
+ },
63
+ "order": {
64
+ "description": "排序方向,field 为 APD/PBD/ISD 时有效:desc(默认)或 asc",
65
+ "type": "string"
66
+ },
67
+ "patent_type": {
68
+ "description": "专利类型:D=外观专利;U=实用新型专利",
69
+ "type": "string"
70
+ },
71
+ "pre_filter": {
72
+ "description": "前置过滤:1=开启国家/LOC 过滤(默认);0=关闭",
73
+ "type": "integer"
74
+ },
75
+ "public_end_time": {
76
+ "description": "公开日结束,格式 yyyyMMdd",
77
+ "type": "string"
78
+ },
79
+ "public_start_time": {
80
+ "description": "公开日开始,格式 yyyyMMdd",
81
+ "type": "string"
82
+ },
83
+ "query_text": {
84
+ "description": "Analytics 风格附加检索式,如 TACD: virtual reality",
85
+ "type": "string"
86
+ },
87
+ "return_img_id": {
88
+ "description": "是否返回附图 img_id",
89
+ "type": "boolean"
90
+ },
91
+ "score_expansion": {
92
+ "description": "是否开启分数拓展",
93
+ "type": "boolean"
94
+ },
95
+ "simple_legal_status": {
96
+ "description": "简单法律状态码,多选逗号分隔;如有效、审中、失效等",
97
+ "type": "string"
98
+ },
99
+ "stemming": {
100
+ "description": "词干化:1=开启;0=关闭(默认);仅对英文关键词生效",
101
+ "type": "integer"
102
+ },
103
+ "urls": {
104
+ "description": "1~4 个图片公网地址的 JSON 数组,元素为 string,如 [\"https://a.com/1.jpg\",\"https://b.com/2.jpg\"];勿将整个数组再包成字符串。本地图请先自行换为公网 URL 后再组装数组",
105
+ "items": {
106
+ "type": "string"
107
+ },
108
+ "type": "array"
109
+ }
110
+ },
111
+ "required": [
112
+ "urls",
113
+ "model",
114
+ "patent_type"
115
+ ]
116
+ }
117
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "name": "patent_image_search_single",
3
+ "description": "专利图像检索(单图):上传一张图片的公网 URL,在全球专利附图库中检索外观/实用新型相似专利并分页返回。必填 url(图片公网地址)、model(检索模型)、patent_type(D=外观/U=实用新型);支持丰富的筛选与排序参数。",
4
+ "arguments": {
5
+ "type": "object",
6
+ "properties": {
7
+ "apply_end_time": {
8
+ "description": "申请日结束,格式 yyyyMMdd",
9
+ "type": "string"
10
+ },
11
+ "apply_start_time": {
12
+ "description": "申请日开始,格式 yyyyMMdd",
13
+ "type": "string"
14
+ },
15
+ "assignees": {
16
+ "description": "筛选申请(专利权)人",
17
+ "type": "string"
18
+ },
19
+ "country": {
20
+ "description": "国家/地区代码 JSON 数组字符串,如 [\"CN\",\"US\"];代码表以交付文档为准",
21
+ "type": "string"
22
+ },
23
+ "field": {
24
+ "description": "排序字段:SCORE 最相关 / APD 申请日 / PBD 公开日 / ISD 授权日",
25
+ "type": "string"
26
+ },
27
+ "include_machine_translation": {
28
+ "description": "是否包含机器翻译数据",
29
+ "type": "boolean"
30
+ },
31
+ "is_https": {
32
+ "description": "1=返回 https 图片地址;0=返回 http(默认)",
33
+ "type": "integer"
34
+ },
35
+ "lang": {
36
+ "description": "original 原文(默认)/ cn 中文译题 / en 英文译题",
37
+ "type": "string"
38
+ },
39
+ "legal_status": {
40
+ "description": "法律状态码,多选逗号分隔;含公开、实审、授权、驳回、失效、PCT 等,以联调为准",
41
+ "type": "string"
42
+ },
43
+ "limit": {
44
+ "description": "返回条数,默认 10,范围 1~100",
45
+ "type": "integer"
46
+ },
47
+ "loc": {
48
+ "description": "洛迦诺外观分类检索式,可用 AND/OR/NOT 组合",
49
+ "type": "string"
50
+ },
51
+ "main_field": {
52
+ "description": "通用检索字段,覆盖标题/摘要/权项/说明书/编号/申请人/发明人/分类号等",
53
+ "type": "string"
54
+ },
55
+ "model": {
56
+ "description": "检索模型:外观专利 1=智能联想(推荐)/2=搜索此图;实用新型 3=匹配形状/4=匹配形状+图案+色彩(推荐)",
57
+ "type": "integer"
58
+ },
59
+ "offset": {
60
+ "description": "起始偏移,默认 0,范围 0~1000",
61
+ "type": "integer"
62
+ },
63
+ "order": {
64
+ "description": "排序方向,field 为 APD/PBD/ISD 时有效:desc(默认)或 asc",
65
+ "type": "string"
66
+ },
67
+ "patent_type": {
68
+ "description": "专利类型:D=外观专利;U=实用新型专利",
69
+ "type": "string"
70
+ },
71
+ "pre_filter": {
72
+ "description": "前置过滤:1=开启国家/LOC 过滤(默认);0=关闭",
73
+ "type": "integer"
74
+ },
75
+ "public_end_time": {
76
+ "description": "公开日结束,格式 yyyyMMdd",
77
+ "type": "string"
78
+ },
79
+ "public_start_time": {
80
+ "description": "公开日开始,格式 yyyyMMdd",
81
+ "type": "string"
82
+ },
83
+ "query_text": {
84
+ "description": "Analytics 风格附加检索式,如 TACD: virtual reality",
85
+ "type": "string"
86
+ },
87
+ "return_img_id": {
88
+ "description": "是否返回附图 img_id",
89
+ "type": "boolean"
90
+ },
91
+ "score_expansion": {
92
+ "description": "是否开启分数拓展",
93
+ "type": "boolean"
94
+ },
95
+ "simple_legal_status": {
96
+ "description": "简单法律状态码,多选逗号分隔;如有效、审中、失效等",
97
+ "type": "string"
98
+ },
99
+ "stemming": {
100
+ "description": "词干化:1=开启;0=关闭(默认);仅对英文关键词生效",
101
+ "type": "integer"
102
+ },
103
+ "url": {
104
+ "description": "待检索图片的公网可访问地址;本地图请先自行换为 HTTPS 公网 URL 后再传入",
105
+ "type": "string"
106
+ }
107
+ },
108
+ "required": [
109
+ "url",
110
+ "model",
111
+ "patent_type"
112
+ ]
113
+ }
114
+ }