Skip to main content

Built-in Tools Reference

Built-in tools are basic capabilities that come with DesireCore, installed with the client, ready to use without additional configuration. Below is the complete list of all built-in tools.

File Operations

Read — Read File

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Read content of file at specified path. Supports line number display and pagination for text files, automatically detects image files and presents them visually. For very large files, can specify read range (offset + limit).

Typical Use Cases: View code files, read documents, view configuration files, preview images.

Write — Write File

AttributeValue
Risk LevelMedium
Requires ConfirmationYes

Write content to file at specified path. Automatically creates directory if it doesn't exist. This operation overwrites existing file content.

Typical Use Cases: Create new files, save generated content, update configuration files.

Edit — Edit File

AttributeValue
Risk LevelMedium
Requires ConfirmationYes

Precise text replacement tool. Modifies files by specifying original text and new text, safer than full file overwrite. Supports smart matching (e.g., automatically handling quote style differences).

Typical Use Cases: Modify specific functions in code, update configuration items, fix errors in documents.

NotebookEdit — Edit Jupyter Notebook

AttributeValue
Risk LevelMedium
Requires ConfirmationYes

Edit specified cells in Jupyter Notebook (.ipynb) files. Supports replace, insert, and delete modes.

Typical Use Cases: Modify data analysis scripts, update experiment code, organize Notebook structure.

Search and Browse

Glob — Search File Names

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Search files in directory by pattern. Supports glob wildcard patterns (e.g., **/*.ts). Prioritizes high-performance fd tool, automatically respects .gitignore rules.

Typical Use Cases: Find specific file types, locate configuration files in projects, search for test files.

Grep — Search File Content

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Search for matching text content in files. Supports regular expressions and context line count. Prioritizes high-performance ripgrep, automatically respects .gitignore rules.

Typical Use Cases: Search for function calls in code, find specific error messages, locate keywords in documents.

Ls — List Directory Contents

AttributeValue
Risk LevelLow
Requires ConfirmationNo

List all files and subdirectories in specified directory. Shows file sizes, supports recursive mode. Skips hidden files by default.

Typical Use Cases: Browse project structure, view file lists in directories, understand project organization.

Command Execution

Bash — Execute Command

AttributeValue
Risk LevelHigh
Requires ConfirmationYes

Execute shell commands. Supports pipes, redirects, and other shell features. Cross-platform support (bash on macOS/Linux, Git Bash on Windows). Has timeout protection and output truncation mechanism.

Typical Use Cases: Run build commands, execute tests, install dependencies, view system status.

High Risk Operation

Command execution is a high-risk operation requiring your confirmation every time. The agent will display the complete command to be executed in the confirmation dialog—please read carefully before confirming.

Which — Check Command Availability

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Check if one or more command-line tools are installed in the system and return executable file paths.

Typical Use Cases: Check if tools are installed before executing commands.

Network

WebFetch — Fetch Webpage

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Fetch webpage content and convert to Markdown format. Supports smart content extraction (automatically removes ads and navigation bars), built-in 15-minute cache.

Typical Use Cases: Consult online documentation, get blog article content, view API references.

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Search the internet for latest information. Supports domain whitelist and blacklist filtering.

Typical Use Cases: Find latest technical materials, search for problem solutions, get real-time information.

Agent Collaboration

spawn_agent — Spawn Sub-agent

AttributeValue
Risk LevelMedium
Requires ConfirmationYes

Spawn a temporary sub-agent to handle specific subtasks. Sub-agents have independent context and tool sets, suitable for breaking complex tasks into independent sub-problems.

Typical Use Cases: Process multiple independent subtasks in parallel, split complex problems to specialized sub-agents.

handoff — Handoff Session

AttributeValue
Risk LevelMedium
Requires ConfirmationYes

Transfer current session to another agent, carrying context summary. Used when current agent believes another agent is better suited to handle your needs.

Typical Use Cases: Problem exceeds current agent's professional scope, need another agent's specialized tools.

request_help — Request Assistance

AttributeValue
Risk LevelMedium
Requires ConfirmationYes

Request professional assistance from another persistent agent. Unlike spawn_agent, the requested agent has its own memory and professional knowledge—similar to "asking a colleague."

Typical Use Cases: Need opinions from other domain experts, cross-agent collaboration to complete complex tasks.

Workspace Management

ManageWorkDirs — Manage Working Directories

AttributeValue
Risk LevelMedium
Requires ConfirmationYes

Manage user's working directory configuration. Supports listing, adding, removing, and setting primary directories.

Typical Use Cases: Switch project workspaces, add new project directories.

GenerateUUID — Generate Unique Identifier

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Generate UUID v4 unique identifiers for scenarios requiring unique IDs.

Typical Use Cases: Create new agents, generate session identifiers.

Memory and Skills

recall_conversation — Retrieve Conversation History

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Retrieve topic records from conversation history. Can search for specific topics or browse by time range.

Typical Use Cases: Review previously discussed solutions, find past decision records, reference historical conversations.

Skill — Load Skill

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Load and execute specified skill pack. Skill packs contain complete instructions that agents will strictly follow.

Typical Use Cases: Execute predefined workflows, apply professional skills.

CreateSchedule — Create Scheduled Task

AttributeValue
Risk LevelMedium
Requires ConfirmationNo

Create scheduled tasks. Supports delayed execution, specified time, periodic scheduling, and other modes.

Typical Use Cases: Set timed reminders, create periodic report tasks, configure automatic checks.

MCP Resources

McpListResources — List MCP Resources

AttributeValue
Risk LevelLow
Requires ConfirmationNo

List readable resources exposed by connected MCP Servers.

McpReadResource — Read MCP Resource

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Read content of specified resource provided by MCP Server.

McpListPrompts — List MCP Prompt Templates

AttributeValue
Risk LevelLow
Requires ConfirmationNo

List prompt templates provided by MCP Server.

McpGetPrompt — Get MCP Prompt

AttributeValue
Risk LevelLow
Requires ConfirmationNo

Get and expand specified prompt template from MCP Server.