Skip to content

Built-in Tools Guide ​

LibrAgent comes with an out-of-the-box set of native Built-in Tools, enabling agents to inspect files, edit code, browse the web, capture screenshots, and execute terminal commands immediately without requiring external tool setups.

When you send a request, the agent autonomously selects and invokes the most appropriate tools to complete your task.


🛡️ Safety & Execution Approval Policies ​

Tool execution remains strictly under user supervision:

Tool CategorySafety PolicyKey Operations
Read-Only ToolsAutomatic executionReading files, viewing web pages, searching session history
System Modification ToolsApproval Dialog (Normal mode)Running shell commands (runShell), creating or modifying files
Desktop Control ToolsExplicit Approval RequiredTaking desktop screenshots (captureScreen), simulating mouse/keyboard (computerControl)

TIP

For unattended background runs (e.g., Scheduled Tasks), you can switch the execution mode to YOLO or Unsafe to auto-approve standard tool executions without blocking on confirmation popups.


🛠️ Core Tool Capabilities ​

1. Workspace & Files (workspace) ​

Agents inspect and edit files directly within your configured project directory.

  • Reading & Searching: Understands codebase structure and text documents.
  • Precise Line Edits: Makes surgical replacements without overwriting entire files.
  • Terminal Execution: Runs builds, test suites, or package managers and captures output.

2. Web Browsing (browser) ​

Interacts with the web through an isolated browser process.

  • Web Navigation: Reads online documentation, technical articles, and live feeds.
  • Visual Verification: Captures screenshots of rendered web pages.

3. Media & Desktop Interaction (media, desktop) ​

Handles visual analysis and operating system interactions.

  • Screen Capture: Inspects error windows or UI layouts visually.
  • Mouse & Keyboard Control: Simulates clicks, typing, and shortcuts for GUI workflows. (Always requires manual approval)

4. Planning & Scheduling (planning, scheduled_task) ​

Organizes complex goals into structured sub-tasks.

  • Multi-step Goals: Breaks down large instructions into a structured Todo list and reports progress.
  • Scheduled Automations: Registers recurring background tasks according to Cron expressions.

⚙️ Optimizing Tools per Assistant ​

Enabling every tool in all sessions increases the context tokens the LLM must consume to read tool definitions.

  1. Navigate to Assistants in the sidebar.
  2. Select Edit → Tools on any assistant profile.
  3. Keep only relevant tools active (e.g., enable workspace for coding assistants, browser for research assistants).

📖 Technical Reference: Tool Identifiers ({server}__{tool}) ​

For power users and prompt engineering, below is the primary built-in tools inventory:

ServerTool IdentifierDescriptionDefault Status
workspaceworkspace__readFileSlice and read file contentsCore (Default)
workspace__writeFileCreate or overwrite filesCore (Default)
workspace__strReplaceExact string replacement in fileCore (Default)
workspace__listDirectoryList files and directoriesCore (Default)
workspace__runShellExecute shell command (async supported)Core (Default)
browserbrowser__navigateToUrlNavigate to URL and wait for loadOptional
browser__takeScreenshotCapture viewport or full page screenshotOptional
browser__getPageContentExtract webpage text & DOM structureOptional
browser__clickElementClick DOM elementOptional
desktopdesktop__computerControlMouse clicks, movement, and keyboard typingOptional (Approval required)
mediamedia__captureScreenCapture desktop display or areaOptional (Approval required)
media__seeContentAnalyze visual image/video contentOptional
media__listenContentAnalyze audio/video soundtrackOptional
planningplanning__createGoalCreate multi-step goals & todosOptional
planning__updateGoalUpdate goal & step progressOptional
scheduled_taskscheduled_task__createScheduledTaskRegister recurring background Cron taskCore (Default)
scheduled_task__listScheduledTasksList registered scheduled tasksCore (Default)

On successful context compaction, planning todos are cleared and the goal is kept. Rebuild the checklist from the compact handoff with planning__addTodo if steps remain. A successful ui__reportResult clears goal, todos, and scratchpad so the next request starts clean.


🧩 Need Additional Tools? ​

If you require integration with third-party services (GitHub, Slack, remote databases):

  • Visit the Extensions Guide to add verified MCP presets with one click or register custom MCP servers.

Released under the MIT License.