Tools Reference

AgentiCode includes 14+ built-in tools for common development tasks.

File Operations

read_file

Read file contents with optional line range:

Input:
  path: string (required) - File path
  startLine?: number - Start line (1-indexed)
  endLine?: number - End line

Output: File content with line numbers

write_file

Write or create files:

Input:
  path: string (required) - File path
  content: string (required) - Content to write
  mode?: 'create' | 'overwrite' | 'append'

Output: Confirmation with line count
Note: Creates parent directories automatically

edit_file

Edit specific lines in a file:

list_dir

List directory contents:

delete_file

Delete a file:

Shell Execution

shell

Execute shell commands:

Search Tools

grep

Search file contents with regex:

glob

Find files by pattern:

Web Tools

Search the web:

web_fetch

Fetch and parse a URL:

Task Management

todo_write

Manage task list:

todo_read

Read current tasks:

Media Tools

view_image

Display an image in the terminal:

screenshot

Take a screenshot:

Background Process Tools

bash_background

Run a command in background:

bash_output

Get output from background process:

kill_bash

Terminate a background process:

list_background

List active background processes:

Batch Operations

read_many_files

Read multiple files efficiently:

apply_patch

Apply a unified diff patch:

MCP Tools

When connected to the AgenticWork platform, additional MCP tools are available:

  • awp_web: Web search and fetch

  • awp_memory: Vector memory storage

  • awp_diagram: Diagram generation

  • awp_admin: System administration

  • awp_azure: Azure operations

  • awp_aws: AWS operations

  • awp_gcp: GCP operations

  • awc_formatting: Content formatting

Tool naming: {server}___{tool} (e.g., awp_web___search)

Security

Blocked Commands

The following patterns are blocked for safety:

  • rm -rf /

  • sudo (without explicit approval)

  • Pipe to shell (| sh, | bash)

  • Format commands (mkfs, dd)

  • System modification commands

Human-in-the-Loop (HITL)

By default, potentially dangerous operations require confirmation:

  • File writes outside working directory

  • Shell commands with side effects

  • Delete operations

  • System commands

Disable with --yolo flag (use with caution).

Last updated