Skip to content

Built-in MCP Tools Reference

LibrAgent includes a unified set of high-performance Rust-native Built-in MCP Servers, enabling code editing, file manipulation, web browsing, task planning, media processing, and background automation without needing external MCP server setup.

All built-in tools follow a consistent {server}__{tool} naming convention.


📌 Core Built-ins vs Optional Built-ins

LibrAgent built-in tools are categorized into Core tools (enabled by default on all sessions) and Optional tools (configurable per assistant).

1️⃣ Core Built-ins (Enabled by Default)

Essential tools automatically available for basic agent operations and UI interactions:

  • workspace__*: File reading/writing/line-range editing, directory listing, terminal command execution
  • ui__*: Interactive selection cards (select_prompt), text forms (text_prompt), data charts, circuit break pause (circuitBreak)
  • agent__*: Autonomous sub-agent spawning and multi-agent orchestration
  • skills__*: Skill execution and context loading
  • playbook__*: Automation playbook listing, execution, and saving
  • attachments__*: Session file attachment management and search
  • scheduled_task__*: Background timers and recurring Cron task management
  • scratchpad__*: Reasoning steps log and scratchpad calculation notes
  • tool__*: Tool discovery and system tool management

2️⃣ Optional Built-ins (Configurable in Assistant Settings)

Domain-specific tools that can be enabled or disabled under Assistants → Edit → Tools:

  • media__*: Image analysis, resizing, audio/image text extraction
  • browser__*: Headless web browsing, DOM clicks, form typing, screenshot capture
  • planning__*: Multi-step plan creation (create_plan), progress tracking, failure reflection (reflect)
  • knowledge__*: Semantic memory storage and persistent knowledge retrieval
  • setup-wizard__*: Python/Node/uv environment diagnostics and setup wizard
  • history__*: Previous session history lookup

🛠️ Built-in Tools Detailed Reference

1. Workspace (workspace__* & runShell)

Tool NameDescriptionKey Parameters
workspace__readFileRead file content with line slicingpath, offset, size
workspace__writeFileCreate, overwrite, or append filepath, mode, content
workspace__strReplaceExact string replacement in an existing filepath, old_string, new_string, replace_all
workspace__listDirectoryList directory contentspath, limit
workspace__runShell / runPowerShellExecute shell command (supports background async)command, timeout

2. Media (media__*) 🎨 (Optional)

Tool NameDescriptionKey Parameters
media__seeContentInspect and analyze image/visual mediaAbsolutePath
media__listenContentParse and analyze audio mediaAbsolutePath
generate_imageAI image generation and visual mockupsPrompt, ImageName

3. Interactive UI (ask_question / ui__*)

Tool NameDescription
ask_questionRender interactive multi-choice selection modal
ui__waitPause execution for user input

4. Browser (browser__*) (Optional)

Tool NameDescription
navigateToUrlNavigate to target web URL
clickElementClick DOM element
inputTextType text into web input
scrollPageScroll web page view
listInteractableExtract clickable elements
evaluateJSExecute custom JS snippet

5. Planning & Reflection (planning__*) (Optional)

Tool NameDescription
planning__createGoalEstablish multi-step goals for complex tasks
planning__updateGoalUpdate step progress and goal status
planning__addTodoManage granular todo items
planning__reflectGenerate structured reflection on tool failures

6. Attachments & Scheduled Tasks (attachments__* / scheduled_task__*)

Tool NameDescription
attachments__readAttachmentRead session attachment contents
attachments__searchAttachmentsSearch through uploaded attachments
scheduled_task__createCreate one-shot timer or recurring Cron schedule
scheduled_task__list / deleteManage active scheduled tasks

🧩 How to Add More Tools

When specialized capabilities beyond built-in tools are required (e.g. GitHub PR management, Slack messaging, ComfyUI image generation, arXiv paper search):

  1. One-Click Presets (Recommended Extensions):
    • Go to Extensions → Tools → Recommended Extensions to add Brave Search, Exa, GitHub, Slack, arXiv, etc. (See Extensions Guide).
  2. Add Custom MCP Server:
    • Register local npx/uvx processes or remote HTTP SSE servers. (See Custom MCP Guide).
  3. Add Skills:
    • Install domain-specific workflow instructions as Skills. (See Skills Guide).

Released under the MIT License.