Tools

Learn how Bob uses specialized tools to read files, edit code, run commands, and interact with your development environment.

Tool workflow

When you work with Bob, it determines the appropriate actions. For each step, Bob will:

  1. Select the appropriate tool based on your request
  2. Present the tool with its parameters for your review
  3. Run the approved tool and show you the results
  4. Continue this process until your task is complete

Tool categories

Bob's tools are grouped by their primary function. Understanding these categories helps you see how Bob performs different tasks.

Read tools

Read tools let Bob access file content and understand code structure without making changes.

ToolPurposeExample use
read_fileRead the contents of one or more filesView configuration files, examine source code
search_filesSearch across files using regexFind TODOs, locate function definitions
list_filesList files and directoriesExplore project structure, find file types
list_code_definition_namesExtract class, function, and method namesGet an overview of code organization

Bob uses read tools when your request involves reviewing code, searching for patterns, or examining project structure.

Write tools

Write tools let Bob create new files or modify existing code.

ToolPurposeExample use
write_to_fileCreate a new file or overwrite an existing fileGenerate new components, create configuration files
apply_diffApply targeted changes to specific parts of a fileUpdate function logic, fix bugs, refactor code
insert_contentInsert content at a specific position in a fileAdd imports, insert new functions

Bob uses write tools when your request involves creating files, implementing features, fixing bugs, or refactoring code.

Command tools

Command tools let Bob run commands and perform system operations.

ToolPurposeExample use
execute_commandRun CLI commands in your workspaceInstall dependencies, run tests, build projects

Bob uses command tools when your request involves running commands, installing packages, running scripts, or performing system operations.

MCP tools

MCP tools let Bob extend its capabilities through connected Model Context Protocol (MCP) servers.

ToolPurposeExample use
use_mcp_toolAccess tools provided by connected MCP serversQuery databases, interact with APIs, access external services

Bob uses MCP tools when your request involves capabilities provided by configured MCP servers.

Mode tools

Mode tools let Bob switch between different modes for specialized tasks.

ToolPurposeExample use
switch_modeChange to a different mode (Code, Plan, Ask, etc.)Switch to Plan mode for architecture design, Code mode for implementation

Bob uses mode tools when your request is better handled by a different mode and its specialized capabilities.

Question tools

Question tools let Bob gather additional information needed to complete tasks.

ToolPurposeExample use
ask_followup_questionRequest clarification or additional detailAsk about preferred implementation approach, request missing information

Bob uses question tools when your request requires more information or clarification before Bob can proceed.

How is this topic?