compare_components
并排对比 2~6 个零部件的关键参数(torque/speed/voltage/protocol/interface/weight/price),相同值自动标注,替代为同一目的连发多次 get_component_detail。缺失字段以 null 呈现,不代表不支持该特性;跨厂商数值比较请配合 get_parameter_semantics。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>"
},
"name": "compare_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | 待对比零部件 ID 数组(2~6 个),形如 ["ACT-001", "ACT-002"]。请先用 search_components 确认 ID。 |