56,641 tools
start_checkout
Open the checkout screen with the current cart. Then use the checkout tools (set_contact_details, set_delivery_address, send_verification_co…
get_checkout_status
What the open checkout still needs before the order can be placed: contact fields, delivery address state, phone verification, payment metho…
set_contact_details
Fill the customer's name, phone and email on the open checkout (only what you pass changes). Use the customer's real details, with their per…
set_delivery_address
For delivery orders: fill the address and run the same check the customer's Confirm button does (address lookup, delivery zone, distance). R…
confirm_unverified_address
Only after set_delivery_address returned unverifiable AND the customer confirmed the address is right: accept it as typed (the same as the c…
send_verification_code
Pay-in-person pickup orders need the phone verified: this texts a code to the phone on the checkout. Ask the customer to read you the code, …
verify_phone_code
Enter the code the customer received by text message.
set_payment_method
Choose pay in person (pay at pickup or to the driver). Agents can't choose or enter card payment; for card, the customer completes payment i…
place_order
Place the order (pay in person only). Before calling, confirm the cart, pickup/delivery and total with the customer. Fails with the same rea…
get_life_state
Read age, turn, life metrics, context, and run status.
get_life_history
Read immutable life history.
get_decision_profile
Read derived decision-profile metrics. Not a diagnosis. Not editable.
get_open_threads
Read unresolved life threads.
get_financial_state
Read cash, income, debt, net worth, and living cost.
get_career_state
Read career track, skills, network, and job context.
get_world_state
Read coarse world conditions. Values are bounded categories, not a full economy.
get_available_opportunities
Read which player actions the engine currently allows, plus locked paths and their requirements.
get_director_budget
Read remaining Director Budget and cycle state.
get_pending_director_cycle
Returns the Director evaluation that became pending after the participant lived a chapter. Inspect life state, history, decision profile, th…
complete_director_cycle
Close the current Director Cycle without changing the world. Use only when a pending crisis already exists or repeating the last event would…
create_job_opportunity
Introduce a bounded job opportunity. The engine calculates compensation from life state and quality.
create_career_setback
Create a bounded career setback. The engine calculates income and wellbeing effects.
create_business_opportunity
Introduce a bounded business or side-project development. The engine calculates numeric effects.
create_financial_event
Create a bounded financial circumstance. The engine sets the dollar amount from life state and severity.
create_network_opportunity
Introduce a bounded network opening. The engine updates network and career if accepted.
create_housing_event
Create a bounded housing circumstance. The engine calculates cash, equity, or mobility effects.
create_world_event
Expensive. Move exactly one world dimension one notch. Cannot rewrite life metrics.
get_project
Read the full state of the session: tempo, swing, loop length, every track with its mixer settings, synth settings and note pattern. Call th…
describe_arrangement
Musical summary of the loop: detected key and confidence, note density per bar, which bars each track is active in, pitch ranges, and notes …
analyze_mix
LISTEN to the current mix. Renders the loop offline and measures it: per-track loudness (LUFS), true peak, crest factor, spectral centroid, …
set_tempo
Set the tempo in BPM and/or the swing amount applied to off-beat 16th notes.
add_track
Add an instrument track. Kinds: kick, snare, hat (drum synths, pitch ignored), bass, keys, lead (subtractive synths). Returns the new track …
remove_track
Delete a track and its pattern.
write_pattern
Write notes onto a track. mode 'replace' clears the track first; mode 'merge' adds to what is already there. Changes are applied immediately…
clear_pattern
Remove every note from a track, keeping its sound and mixer settings.
set_mix
Set a track's level in dB, stereo pan, mute or solo.
set_eq
Set a track's EQ: high-pass corner, low-pass corner, and one peaking band. Use analyze_mix first to find out which band actually needs work.
transport
Start or stop playback. The loop plays continuously and edits are heard immediately.
select_track
Focus a track in the UI. Selecting a track also registers extra tools for editing that specific instrument's sound, so call this before tryi…
propose_pattern
Suggest a pattern WITHOUT applying it. It appears in the UI as ghost notes with Accept / Reject / Preview buttons so the user stays in contr…