17 tools · production · spec
Sema is a coding playground that lets an agent read, write, run, and debug Sema source code while managing files and examples.
Tools17 total
continue_debugging
actionimperative/no parameters
find_examples
readimperative/limitinteger—Maximum examples to return.
querystring—Case-insensitive text used to filter examples.
format_editor
actionimperative/no parameters
get_debug_state
readimperative/no parameters
list_files
readimperative/dirstring—Absolute virtual directory path to list.
load_example
actionimperative/idstringrequiredExample identifier such as getting-started/hello.sema or hello.sema.
read_editor
readimperative/limitinteger—Maximum number of characters to return.
offsetinteger—Zero-based character offset at which to start reading.
read_file
readimperative/pathstringrequiredAbsolute virtual file path to read.
limitinteger—Maximum number of characters to return.
offsetinteger—Zero-based character offset at which to start reading.
read_output
readimperative/limitinteger—Maximum number of characters to return.
offsetinteger—Zero-based character offset at which to start reading.
run_editor
actionimperative/no parameters
set_breakpoints
actionimperative/linesarrayrequiredOne-based editor line numbers on which to pause.
start_debugging
actionimperative/no parameters
step_debugger
actionimperative/modestringrequiredDebugger stepping mode.
stop_debugging
actionimperative/no parameters
stop_run
actionimperative/no parameters
write_editor
actionimperative/codestringrequiredComplete Sema source to place in the editor.
write_file
actionimperative/pathstringrequiredAbsolute virtual file path to create or replace.
contentstringrequiredUTF-8 text content, limited to 1 MiB.