webmcp/gallery

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/
limitintegerMaximum examples to return.
querystringCase-insensitive text used to filter examples.

format_editor

actionimperative/

no parameters

get_debug_state

readimperative/

no parameters

list_files

readimperative/
dirstringAbsolute virtual directory path to list.

load_example

actionimperative/
idstringrequiredExample identifier such as getting-started/hello.sema or hello.sema.

read_editor

readimperative/
limitintegerMaximum number of characters to return.
offsetintegerZero-based character offset at which to start reading.

read_file

readimperative/
pathstringrequiredAbsolute virtual file path to read.
limitintegerMaximum number of characters to return.
offsetintegerZero-based character offset at which to start reading.

read_output

readimperative/
limitintegerMaximum number of characters to return.
offsetintegerZero-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.