Theia API Documentation v1.74.0
    Preparing search index...

    Module @theia/ai-tool-sketchpad


    theia-ext-logo

    ECLIPSE THEIA - AI TOOL SKETCHPAD EXTENSION


    The @theia/ai-tool-sketchpad extension lets you prototype LLM tools at runtime without writing or rebuilding any code.

    When designing custom AI agents, most aspects of agent behavior (system prompts, LLMs, skills, MCPs) can already be adjusted at runtime. Custom tools were the remaining gap. This extension closes it by letting you define sketched tools declaratively: name, description, input parameters, and return behavior. The tool implementation is deliberately left out.

    Open the AI Tool Sketchpad view (available once AI features are enabled) to create, edit, and delete sketched tools. Each tool defines:

    • Name and Description exposed to the LLM.
    • Parameters, including nested object and array parameters.
    • A Return Mode:
      • Static Return Value always returns a fixed string.
      • Ask At Runtime opens a quick input at invocation time so you can supply the return value on the fly.

    Sketched tools are registered in the ToolInvocationRegistry and become immediately available to any AI agent or chat session. Definitions are persisted as YAML and reloaded live when edited externally.

    "Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia

    Modules

    browser
    browser/frontend-module
    browser/sketched-tool-contribution
    browser/sketched-tool-service
    browser/sketched-tool-widget
    common
    common/sketched-tool