packages/ai-tool-sketchpad/README.md
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:
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