get_vendor
Retrieve full Chinese business profiles by ID—address, contact, industry, certifications, and linked legal entity details for contracts. Batch up to 20 IDs per call to reduce round trips.
Instructions
按主体 id 取完整中文档案:名称/地址/经纬度/电话/行业路径/认证/关键词等。取多家请用 ids 一次批量拿:单条固定约 2.3 秒(往返受限,数据本身只有 1.4KB),串行取 5 家要 1112 秒,批量并发后约 2~3 秒。典型用法:search_vendors 拿到一批 id 后,把要展示的几家一起传给 ids。
若这家已归集到政府主体,回执里会多一个 linked_entity:{uscc 统一社会信用代码, legal_name 法定登记名称, relation 关系(operator 同一法人/branch 分支机构/brand 品牌门店/unknown 未定), origin auto 机器判|manual 人工确认, score 机器分}。company 是经营招牌名,linked_entity.legal_name 是工商登记名,两者经常不同(如「温州亿鸿不锈钢装饰材料有限公司」登记名是「温州市亿鸿装饰工程有限公司」);签约、开票、查资质一律用 legal_name + uscc。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_vendor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gb | No | 国标码(可选);批量时对全部 id 生效。不填会自动反查,稍慢 | |
| id | No | 单个主体 id(与 ids 二选一,只传它时回执是 {"vendor": …}) | |
| ids | No | 批量主体 id,最多 20 个;自动去重、按传入顺序返回。回执是 {"vendors": [...], "count": n, "failed": [...]},单条取不到只进 failed,不影响其余 |