Skip to main content

Tools

Tools are the capabilities your AI coding agent uses to accomplish tasks.

Common Tools

File Operations

  • view - Read file contents
  • create - Create new files
  • str_replace - Edit existing files

Execution

  • bash - Run shell commands
  • write_bash - Send input to commands
  • read_bash - Read command output
  • search_code - Find code patterns
  • list_directory - Browse directories

Tool Metrics

A24Z tracks for each tool: Performance:
  • Average execution time
  • Success rate
  • Error rate
Usage:
  • Execution count
  • Usage frequency
  • Usage patterns

Tool Success Rate

The percentage of executions that succeed:
  • >90% - Excellent
  • 80-90% - Good
  • <80% - Needs attention

Improving Tool Success

For low success rates:
  1. Review error logs
  2. Check prompt clarity
  3. Verify tool usage is appropriate
  4. Consult tool documentation

Tool Selection

Choose the right tool:
  • view for reading (not bash cat)
  • str_replace for editing (surgical)
  • bash for complex operations

Next Steps