add_component
Add a component such as a resistor or capacitor to an electronic circuit diagram. Specify its type, identifier, and optional details like label, value, position, and direction.
Instructions
回路図にコンポーネントを追加
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": {
"component_type": "<component_type>",
"component_id": "<component_id>"
},
"name": "add_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | コンポーネントのラベル(オプション) | |
| value | No | コンポーネントの値(オプション) | |
| position | No | 位置 [x, y](オプション) | |
| direction | No | コンポーネントの方向(オプション) | |
| component_id | Yes | コンポーネントの識別子 | |
| component_type | Yes | コンポーネントのタイプ(resistor, capacitor, diode等) |