Nucleus Blast · Reference

Command reference for Logic Pro

Your agent calls one tool, named logic, with a command and its parameters. Here are the 87 commands, in 7 domains. A command that can change your project asks for confirmed: true, and every result is read back from Logic.

Session and project 13 commands

help
List the commands, or explain one.
batch
Run several commands in a row, stopping at the first one that does not succeed.
trace
Show what the server did lately: each call, its parameters, result and duration.
support
Gather what to attach to a request for help: health, recent calls, recent failures.
health
Check permissions, Logic's edition, version and language, and the project window.
project
Read the project, or create, open, save, close a project, or switch between open projects.
app
Tell whether Logic Pro is running, launch it, or quit it.
project_audit
Go round the project before a bounce or an export: what would go wrong, and what to tidy.
project_cleanup
List the tidy-up steps of the project, or apply one.
tracks
List the tracks: index, name, selected, mute, solo, regions with their bars.
track_select
Select one track, or several, without bringing Logic to the front.
track_stack
Read, open or close one Track Stack by its arrow.
template
Open a ready-made production setup (tracks, sounds, regions, bus) as a new project, in about two seconds.

Transport, tempo and markers 10 commands

transport
Read the transport, play, stop, pause, or step the playhead, without bringing Logic to the front.
record
Start or stop recording, and tell what was recorded.
control_bar
List or set the control-bar switches: metronome, count-in, replace, autopunch, solo…
goto
Move the playhead to a bar (and beat), or by a number of bars.
cycle
Read or set the cycle (loop) range.
tempo
Read or set the project tempo.
tempo_event
List, create, change, move or delete tempo changes along the song.
marker
List, create, rename, move, delete markers, or jump to one.
zoom
Read or set the zoom of the Tracks area, or fit everything in view.
panel
Read, show or hide a panel of the main window.

Tracks and regions 18 commands

new_tracks
Create tracks (audio, software instrument, Drummer and other Session Players, pattern).
track_delete
Delete one track (and, if you say so, its regions).
track_rename
Rename a track.
track_duplicate
Duplicate a track, with or without its regions.
edit
Edit regions: cut, copy, paste, delete, split, join, duplicate, move to playhead, bounce in place, normalize.
track_sort
Sort the tracks (by name, creation date, channel, used or unused…).
select
List the regions and the selection, or select regions.
region_get
Read the Region inspector of the selected (or named) region.
region_set
Write one Region inspector parameter (transpose, quantize, loop, gain…).
region_move
Drag a region along the timeline (real, verified mouse gesture).
region_resize
Drag a region border (real, verified mouse gesture).
region_menu
Mute or unmute a region, or open Stem Splitter, from its right-click menu.
stem_split
Split an audio region into stems (vocals, drums, bass, other…).
automation_points
Create automation points at the borders of regions.
session_player
Read or set a Session Player (Drummer, Bass, Keyboard): complexity, intensity, swing, kit pieces.
library
Browse Logic's Library: categories, folders, patches; load a patch by its path.
instrument
Load a Library patch by name on the selected track.
patch_save
Save the sound of one track (instrument, effects, settings) as a Library patch.

Mixer and routing 15 commands

mixer
Read the whole mixer at once: level, pan, mute, solo, plug-ins and output of every strip.
fader
Read or set a channel strip level, in dB.
pan
Read or set a channel strip pan.
mute
Read or set a channel strip's mute.
solo
Read or set a channel strip's solo.
arm
Read or set a track's record-enable button.
input_monitoring
Read or set a track's input monitoring button.
automation_mode
Read or set a strip's automation mode (Read, Touch, Latch, Write).
sends
List a strip's sends: destination, mode, level in dB.
send
Route a send to a bus (or remove it).
send_level
Set a send level, in dB.
output
Read or set a strip's output.
input
Read or set a strip's input (buses only).
strip_menu
Browse a strip's Setting menu (channel strip settings).
strip_setting
Load a channel strip setting (replaces the strip's plug-ins).

Plug-ins, parameters and presets 13 commands

insert
Add, replace or remove a plug-in on a strip (Apple or third-party).
plugin_list
List the plug-ins this Mac offers, read live from Logic's plug-in menu (Apple and third-party).
eq_band
Read or set one band of a Channel EQ in Hz, dB and Q.
open
Open a plug-in window.
close
Close a plug-in window.
view
Switch a plug-in window between its editor and the generic Controls view.
params
List every parameter of a plug-in, with its value and range.
set
Write one plug-in parameter and read it back.
options
List the choices of a pop-up or radio parameter.
preset_menu
Browse a plug-in's preset menu.
preset
Load a plug-in preset.
preset_save
Save a plug-in's current settings as a preset.
sidechain
Read or set a plug-in's side chain source.

MIDI, bounce and export 8 commands

midi
Play live MIDI into Logic through a virtual port: notes, chords, controllers, program change, pitch bend, sequences, MMC.
import_audio
Add an audio file to the arrangement, at the playhead on the selected track.
import_midi
Import an existing MIDI file as new tracks and regions.
export_midi
Write ONE MIDI region of the project to a .mid file.
sequence
Write notes as a MIDI region on a new track.
bounce
Bounce the project or a section to a file (WAV, AIFF, MP3, M4A).
audio_analyze
Measure an audio file: duration, peak, RMS, loudness (LUFS), silence, spectrum, EQ suggestions.
export_tracks
Export every track as its own audio file.

Menus, dialogs and key commands 10 commands

find
Search Logic's 10,636 commands: where each one is and its shortcut.
menu_list
List the menu bar, or one menu or submenu.
menu
Press any menu-bar item by its path.
local_menu
List or press the local menu bar of an area or editor (Edit, Functions, View…).
context_menu
List or press a right-click menu (region, track, lane, strip, control-bar button).
dialog
Read, fill or answer the Logic dialog, sheet or alert that is open.
key_command
Send the shortcut of a Logic key command (last resort).
undo
Tell what Undo would undo, or undo.
redo
Tell what Redo would redo, or redo.
mouse
A real mouse gesture on a named element, checked before it acts.

And when none of them fits, find searches the 10,636 menu items and key commands of Logic itself, and menu presses the one you need.