msim_connect
Connects component pins into a named net and automatically draws the wires, optionally placing a voltage probe so simulation analyses can read waveforms.
Instructions
把若干引脚连成一条网络(自动画导线)。
net 网络名,如 "out"。地网统一写 "0"("gnd"/"ground" 会自动归一化) pins 引脚引用列表,格式 "元件.引脚名",如 "R1.1"、"Q1.B"、"Q1.C"、"Q1.E"。 注意三极管引脚名是字母 C/B/E,不是数字,写错会直接报错 probe 是否在这条网络上放一个电压探针(有探针才能跑分析读波形) probe_at [x, y] 探针落点;必须落在该网络的水平导线段上, 省略则在最长水平段中点自动插点。给了非法坐标会报错而不是静默失效
一个引脚只能属于一条网络,重复连接会报 PIN_CONFLICT。 地网需要多段时,重复调用本函数、net 都写 "0" 即可。
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": {
"net": "<net>",
"pins": "<pins>"
},
"name": "msim_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| pins | Yes | ||
| probe | No | ||
| probe_at | No |