WebMCP

DeveloperWebMCP verified

sema.run WebMCP tools

Try Sema in the browser — a Lisp with first-class LLM primitives. No install required, runs entirely in WebAssembly.

17 tools1 methodsspec API surface

What can an agent do with sema.run WebMCP tools?

Try Sema in the browser — a Lisp with first-class LLM primitives. No install required, runs entirely in WebAssembly. This page documents every listed tool, the action or answer it provides, its installation command, and the input fields an agent should send.

WebMCP tools on sema.run

Tool 1 of 17WebMCPAnswer

read_editor

Read Sema source from the playground editor. Use this before editing or running unfamiliar code.

How to install

Open the sema.run website and ask your browser agent to use read_editor

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the read_editor tool on sema.run with offset: <integer>, limit: <integer>. Return the structured result and cite the source page.

Input contract

  • offset integer Zero-based character offset at which to start reading.
  • limit integer Maximum number of characters to return.

Open the source definition

Tool 2 of 17WebMCPAction

write_editor

Replace the playground editor contents with Sema source code.

How to install

Open the sema.run website and ask your browser agent to use write_editor

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the write_editor tool on sema.run with code: <string>. Return the structured result and cite the source page.

Input contract

  • code string Complete Sema source to place in the editor.

Open the source definition

Tool 3 of 17WebMCPAction

format_editor

Format the current Sema source in the playground editor.

How to install

Open the sema.run website and ask your browser agent to use format_editor

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the format_editor tool on sema.run. Return the structured result and cite the source page.

Input contract

    Open the source definition

    Tool 4 of 17WebMCPAction

    run_editor

    Run the current Sema source and wait for evaluation to finish.

    How to install

    Open the sema.run website and ask your browser agent to use run_editor

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the run_editor tool on sema.run. Return the structured result and cite the source page.

    Input contract

      Open the source definition

      Tool 5 of 17WebMCPAction

      stop_run

      Cancel the active worker-backed Sema evaluation when one is running.

      How to install

      Open the sema.run website and ask your browser agent to use stop_run

      Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

      Run with an agent

      Use the stop_run tool on sema.run. Return the structured result and cite the source page.

      Input contract

        Open the source definition

        Tool 6 of 17WebMCPAnswer

        read_output

        Read the current playground output, including values, printed lines, errors, and timing.

        How to install

        Open the sema.run website and ask your browser agent to use read_output

        Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

        Run with an agent

        Use the read_output tool on sema.run with offset: <integer>, limit: <integer>. Return the structured result and cite the source page.

        Input contract

        • offset integer Zero-based character offset at which to start reading.
        • limit integer Maximum number of characters to return.

        Open the source definition

        Tool 7 of 17WebMCPAnswer

        find_examples

        Find bundled Sema examples by filename, category, or identifier.

        How to install

        Open the sema.run website and ask your browser agent to use find_examples

        Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

        Run with an agent

        Use the find_examples tool on sema.run with query: <string>, limit: <integer>. Return the structured result and cite the source page.

        Input contract

        • query string Case-insensitive text used to filter examples.
        • limit integer Maximum examples to return.

        Open the source definition

        Tool 8 of 17WebMCPAction

        load_example

        Load one bundled Sema example into the editor by identifier or filename.

        How to install

        Open the sema.run website and ask your browser agent to use load_example

        Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

        Run with an agent

        Use the load_example tool on sema.run with id: <string>. Return the structured result and cite the source page.

        Input contract

        • id string Example identifier such as getting-started/hello.sema or hello.sema.

        Open the source definition

        Tool 9 of 17WebMCPAnswer

        list_files

        List one directory in the playground virtual filesystem.

        How to install

        Open the sema.run website and ask your browser agent to use list_files

        Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

        Run with an agent

        Use the list_files tool on sema.run with dir: <string>. Return the structured result and cite the source page.

        Input contract

        • dir string Absolute virtual directory path to list.

        Open the source definition

        Tool 10 of 17WebMCPAnswer

        read_file

        Read a UTF-8 text file from the playground virtual filesystem.

        How to install

        Open the sema.run website and ask your browser agent to use read_file

        Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

        Run with an agent

        Use the read_file tool on sema.run with path: <string>, offset: <integer>, limit: <integer>. Return the structured result and cite the source page.

        Input contract

        • path string Absolute virtual file path to read.
        • offset integer Zero-based character offset at which to start reading.
        • limit integer Maximum number of characters to return.

        Open the source definition

        Tool 11 of 17WebMCPAction

        write_file

        Create or replace a UTF-8 text file in the playground virtual filesystem.

        How to install

        Open the sema.run website and ask your browser agent to use write_file

        Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

        Run with an agent

        Use the write_file tool on sema.run with path: <string>, content: <string>. Return the structured result and cite the source page.

        Input contract

        • path string Absolute virtual file path to create or replace.
        • content string UTF-8 text content, limited to 1 MiB.

        Open the source definition

        Tool 12 of 17WebMCPAction

        set_breakpoints

        Replace the debugger breakpoints with the requested one-based source lines.

        How to install

        Open the sema.run website and ask your browser agent to use set_breakpoints

        Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

        Run with an agent

        Use the set_breakpoints tool on sema.run with lines: <array>. Return the structured result and cite the source page.

        Input contract

        • lines array One-based editor line numbers on which to pause.

        Open the source definition

        Tool 13 of 17WebMCPAction

        start_debugging

        Start debugging the current Sema source and wait for a pause, finish, or error.

        How to install

        Open the sema.run website and ask your browser agent to use start_debugging

        Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

        Run with an agent

        Use the start_debugging tool on sema.run. Return the structured result and cite the source page.

        Input contract

          Open the source definition

          Tool 14 of 17WebMCPAction

          continue_debugging

          Continue the paused Sema debugger and wait for its next stable state.

          How to install

          Open the sema.run website and ask your browser agent to use continue_debugging

          Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

          Run with an agent

          Use the continue_debugging tool on sema.run. Return the structured result and cite the source page.

          Input contract

            Open the source definition

            Tool 15 of 17WebMCPAction

            step_debugger

            Step the paused Sema debugger into, over, or out and wait for its next stable state.

            How to install

            Open the sema.run website and ask your browser agent to use step_debugger

            Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

            Run with an agent

            Use the step_debugger tool on sema.run with mode: <string>. Return the structured result and cite the source page.

            Input contract

            • mode string Debugger stepping mode.

            Open the source definition

            Tool 16 of 17WebMCPAction

            stop_debugging

            Stop the active Sema debugger and return the playground to its idle state.

            How to install

            Open the sema.run website and ask your browser agent to use stop_debugging

            Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

            Run with an agent

            Use the stop_debugging tool on sema.run. Return the structured result and cite the source page.

            Input contract

              Open the source definition

              Tool 17 of 17WebMCPAnswer

              get_debug_state

              Read debugger status, active line, breakpoints, locals, and stack frames.

              How to install

              Open the sema.run website and ask your browser agent to use get_debug_state

              Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

              Run with an agent

              Use the get_debug_state tool on sema.run. Return the structured result and cite the source page.

              Input contract

                Open the source definition