Tool tree
gradeNot graded
get_lab_stateAnswer
Read all CircuitLab components, connections, power, lesson, measurements, and messages.
View tool JSON
{
"name": "get_lab_state",
"kind": "answer",
"impl": "imperative",
"description": "Read all CircuitLab components, connections, power, lesson, measurements, and messages.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}add_componentAction
Add a supported virtual component to the breadboard.
View tool JSON
{
"name": "add_component",
"kind": "act",
"impl": "imperative",
"description": "Add a supported virtual component to the breadboard.",
"inputSchema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"power_supply",
"ground",
"led",
"resistor",
"push_button",
"toggle_switch",
"potentiometer",
"buzzer",
"light_sensor",
"temperature_sensor",
"and_gate",
"or_gate",
"not_gate",
"microcontroller"
]
},
"position": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 90
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 85
}
},
"additionalProperties": false
}
},
"required": [
"type"
],
"additionalProperties": false
}
}move_componentAction
Move an existing component on the visual breadboard.
View tool JSON
{
"name": "move_component",
"kind": "act",
"impl": "imperative",
"description": "Move an existing component on the visual breadboard.",
"inputSchema": {
"type": "object",
"properties": {
"component_id": {
"type": "string"
},
"position": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 90
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 85
}
},
"additionalProperties": false
}
},
"required": [
"component_id",
"position"
],
"additionalProperties": false
}
}remove_componentAction
Remove a virtual component and attached wires.
View tool JSON
{
"name": "remove_component",
"kind": "act",
"impl": "imperative",
"description": "Remove a virtual component and attached wires.",
"inputSchema": {
"type": "object",
"properties": {
"component_id": {
"type": "string"
}
},
"required": [
"component_id"
],
"additionalProperties": false
}
}connect_pinsAction
Connect two existing pins with a colored jumper wire.
View tool JSON
{
"name": "connect_pins",
"kind": "act",
"impl": "imperative",
"description": "Connect two existing pins with a colored jumper wire.",
"inputSchema": {
"type": "object",
"properties": {
"from_pin_id": {
"type": "string"
},
"to_pin_id": {
"type": "string"
},
"color": {
"type": "string",
"enum": [
"#20d6e5",
"#f05f65",
"#f6b94f",
"#6ee7a2",
"#b794f6"
]
}
},
"required": [
"from_pin_id",
"to_pin_id"
],
"additionalProperties": false
}
}remove_connectionAction
Remove one jumper wire.
View tool JSON
{
"name": "remove_connection",
"kind": "act",
"impl": "imperative",
"description": "Remove one jumper wire.",
"inputSchema": {
"type": "object",
"properties": {
"connection_id": {
"type": "string"
}
},
"required": [
"connection_id"
],
"additionalProperties": false
}
}set_component_valueAction
Set resistance, potentiometer percentage, sensor input, or another numeric component value.
View tool JSON
{
"name": "set_component_value",
"kind": "act",
"impl": "imperative",
"description": "Set resistance, potentiometer percentage, sensor input, or another numeric component value.",
"inputSchema": {
"type": "object",
"properties": {
"component_id": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"component_id",
"value"
],
"additionalProperties": false
}
}set_powerAction
Set virtual supply voltage from 0 to 12 V and enable or disable it.
View tool JSON
{
"name": "set_power",
"kind": "act",
"impl": "imperative",
"description": "Set virtual supply voltage from 0 to 12 V and enable or disable it.",
"inputSchema": {
"type": "object",
"properties": {
"voltage": {
"type": "number",
"minimum": 0,
"maximum": 12
},
"enabled": {
"type": "boolean"
}
},
"required": [
"voltage",
"enabled"
],
"additionalProperties": false
}
}toggle_switchAction
Open or close a push button or toggle switch.
View tool JSON
{
"name": "toggle_switch",
"kind": "act",
"impl": "imperative",
"description": "Open or close a push button or toggle switch.",
"inputSchema": {
"type": "object",
"properties": {
"component_id": {
"type": "string"
},
"enabled": {
"type": "boolean"
}
},
"required": [
"component_id",
"enabled"
],
"additionalProperties": false
}
}run_circuit_testAction
Analyze the current supported beginner circuit and return a deterministic verdict.
View tool JSON
{
"name": "run_circuit_test",
"kind": "act",
"impl": "imperative",
"description": "Analyze the current supported beginner circuit and return a deterministic verdict.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}measure_voltageAction
Measure voltage between two supported circuit pins.
View tool JSON
{
"name": "measure_voltage",
"kind": "act",
"impl": "imperative",
"description": "Measure voltage between two supported circuit pins.",
"inputSchema": {
"type": "object",
"properties": {
"pin_a_id": {
"type": "string"
},
"pin_b_id": {
"type": "string"
}
},
"required": [
"pin_a_id",
"pin_b_id"
],
"additionalProperties": false
}
}measure_currentAction
Measure modeled current through a component in a validated circuit.
View tool JSON
{
"name": "measure_current",
"kind": "act",
"impl": "imperative",
"description": "Measure modeled current through a component in a validated circuit.",
"inputSchema": {
"type": "object",
"properties": {
"component_id": {
"type": "string"
}
},
"required": [
"component_id"
],
"additionalProperties": false
}
}open_instrumentAction
Open a virtual instrument in the bottom panel.
View tool JSON
{
"name": "open_instrument",
"kind": "act",
"impl": "imperative",
"description": "Open a virtual instrument in the bottom panel.",
"inputSchema": {
"type": "object",
"properties": {
"instrument": {
"type": "string",
"enum": [
"multimeter",
"oscilloscope",
"logic_probe"
]
}
},
"required": [
"instrument"
],
"additionalProperties": false
}
}load_lessonAction
Load a guided electronics lesson or debug challenge.
View tool JSON
{
"name": "load_lesson",
"kind": "act",
"impl": "imperative",
"description": "Load a guided electronics lesson or debug challenge.",
"inputSchema": {
"type": "object",
"properties": {
"lesson_id": {
"type": "string",
"enum": [
"light-led",
"safe-resistor",
"button-led",
"pot-led",
"logic-gate",
"debug"
]
}
},
"required": [
"lesson_id"
],
"additionalProperties": false
}
}next_lesson_stepAction
Advance the active guided lesson by one step.
View tool JSON
{
"name": "next_lesson_step",
"kind": "act",
"impl": "imperative",
"description": "Advance the active guided lesson by one step.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}explain_circuitAction
Explain the current supported circuit in beginner-friendly language.
View tool JSON
{
"name": "explain_circuit",
"kind": "act",
"impl": "imperative",
"description": "Explain the current supported circuit in beginner-friendly language.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}find_faultsAnswer
Identify likely wiring, polarity, ground, and current-limiting faults.
View tool JSON
{
"name": "find_faults",
"kind": "answer",
"impl": "imperative",
"description": "Identify likely wiring, polarity, ground, and current-limiting faults.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}reset_boardAction
Clear every component and wire, returning to an empty breadboard with power off.
View tool JSON
{
"name": "reset_board",
"kind": "act",
"impl": "imperative",
"description": "Clear every component and wire, returning to an empty breadboard with power off.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}