56,641 tools
get_circuit_state
Read the full current circuit: every component (gates, inputs, outputs) with its id, type, position, label and value, every wire, and the li…
list_examples
List the built-in example circuits (id, name, description) available to load_example.
load_example
Replace the current circuit on the canvas with one of the built-in examples. Use list_examples to see valid ids.
add_component
Place a new component on the canvas: an INPUT (a toggleable source bit), an OUTPUT (a display terminal), or a gate (AND, OR, NOT, XOR, NAND,…
update_component
Update an existing component: reposition it (x/y), rename it (label), or — for INPUT components only — set its value (inputValue: 0 or 1).
remove_component
Delete a component from the canvas. Any wires attached to it are removed too.
connect_components
Connect the output of one component to an input port of another. Gates with two inputs (AND/OR/XOR/NAND/NOR) use toPort 0 or 1; NOT and OUTP…
disconnect_components
Delete a single wire by id (from get_circuit_state's wires list).
set_input
Set an INPUT component to 0 (LOW) or 1 (HIGH).
simulate
Recompute every signal in the circuit from the current INPUT values and return the resulting value on each component and wire, plus any wiri…
generate_truth_table
Exercise every combination of the circuit's INPUT components (2^n rows) and report the resulting OUTPUT values for each — the deterministic …
validate_circuit
Check whether the circuit correctly implements a named function (AND, OR, NOT, XOR, NAND, NOR, HALF_ADDER, FULL_ADDER, MUX_2TO1, DECODER_2TO…
highlight_component
Draw the student's eye to specific components and/or wires with a reason string (e.g. 'this AND gate should be an OR gate'). Used while diag…
clear_highlights
Remove every debugging highlight currently shown on the canvas.
reset_circuit
Remove every component and wire, returning to a blank canvas.
get_timeline
Read the live RelayLab timeline, including ghost and committed B-roll overlays, distinct source-video and main-timeline ranges, human locks,…
get_edit_plan
Read the agent's current structured editorial plan: every decision (uploaded-B-roll placement, generated-B-roll suggestion) with its timelin…
get_project_summary
Read a compact project summary: title, duration, approval status, transcript/B-roll counts, overlay counts by state, the current pacing pref…
get_transcript
Read a bounded slice of timestamped transcript by optional startSeconds/endSeconds and/or segment count. Never returns the full transcript u…
find_overlay_opportunities
Read-only heuristic scan for B-roll candidate slots. Finds pacing gaps plus transcript cues for products/apps, lists, concrete objects/place…
search_broll
Search available indexed B-roll source moments by description/tag relevance, optional minDuration/maxDuration, duration fit, and recent-reus…
propose_overlay
Create a non-destructive GHOST B-roll proposal from an indexed moment while the project is planning. This never commits, approves, locks, or…
update_overlay_proposal
Update an existing unlocked GHOST proposal while planning. May change timeline start, duration, validated source in/out, or reason. Rejects …
remove_overlay_proposal
Remove an unlocked GHOST B-roll proposal while planning. Rejects human-locked overlays with HUMAN_LOCKED. Cannot remove committed edits, app…
propose_generated_broll
Create a visually distinct GHOST GENERATION SUGGESTION only after search_broll shows no strong uploaded-footage match. Stores a proposed pro…
update_generated_broll_suggestion
Revise the timing, prompt, or reason of an unresolved generation suggestion while planning. This changes metadata only and never invokes a p…
remove_generated_broll_suggestion
Remove an unresolved generation suggestion while planning. This never cancels or starts paid generation; a suggestion already being generate…
set_pacing_preference
Set the maximum uninterrupted talking-head duration (seconds) used by find_overlay_opportunities pacing-gap detection. Clamped to 5-30 secon…
set_caption_style
Set one or more caption presentation fields: position (top/center/bottom), fontFamily (one of a small free-font preset list), fontSize (12-5…
replan_unlocked_sections
Re-read the shared timeline and update only unlocked, agent-authored ghost B-roll proposals whose source moment is no longer the strongest a…
prepare_demo_order
Demo only. In one request, add Morrow One to the bag, choose delivery, optionally apply HELLO10, and read the final total. Every change runs…
get_product
Read-only. Read the price, colours, and availability for Morrow One. This does not change the shop.
get_cart
Read-only. Read the current bag, delivery choice, discount, and authoritative total. This does not change the shop.
add_to_cart
Exactly recoverable. Add Morrow One to the shopping bag in the selected colour and quantity. This has exact recovery.
remove_from_cart
Exactly recoverable. Remove Morrow One from the shopping bag. This has exact recovery.
set_quantity
Exactly recoverable. Set the quantity of Morrow One in the bag. This has exact recovery.
choose_delivery
Exactly recoverable. Choose standard or express delivery for the current bag. This has exact recovery.
apply_discount
Exactly recoverable. Apply the HELLO10 discount code to the current bag. This has exact recovery.
prepare_checkout
Read-only. Read the authoritative checkout total and destination. This does not place an order.
place_order
Consequential and irreversible. Demo only. Place a fictional Morrow order; no payment is charged and no real order is created. This simulate…