msim_add_part
Places a component in the current Multisim circuit by refdes and kind, optionally setting value and coordinates, then returns its pins for wiring.
Instructions
往当前电路里放一个元件。
refdes 位号,如 "R1"、"V1"(同一电路内必须唯一) kind 元件种类,见 msim_list_parts,如 "resistor"、"dc_source"、"ground" value 主参数(电阻 Ω、电容 F、电感 H、电源 V)。ground 不需要 x, y 放置坐标(Multisim 图纸单位,栅格 9)。省略则自动布局
返回该元件的引脚列表,供 msim_connect 使用。
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": {
"refdes": "<refdes>",
"kind": "<kind>"
},
"name": "msim_add_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| kind | Yes | ||
| value | No | ||
| refdes | Yes |