Skip to main content

Module tools

Module tools 

Source
Expand description

Tools for Pawan agent

This module provides all the tools that Pawan can use to interact with the filesystem, execute commands, and perform coding operations.

Native tools (rg, fd, sd, erd, mise) are thin wrappers over CLI binaries that provide structured JSON output and auto-install hints.

Modules§

agent
Sub-agent spawning tool
bash
Bash command execution tool
edit
Edit tool for precise string replacement
file
File read/write tools
git
Git operation tools
native
Native CLI tool wrappers — rg, fd, sd, ag, erd
search
Search tools (glob and grep)

Structs§

ToolDefinition
Tool definition for LLM
ToolRegistry
Registry for managing tools with tiered visibility.

Enums§

ToolTier
Tool tier — controls which tools are sent to the LLM in the prompt. All tools remain executable regardless of tier; tier only affects which tool definitions appear in the LLM system prompt.

Traits§

Tool
Trait for implementing tools