| Claude Code | Gemini CLI | Params Translation |
|---|---|---|
Read |
read_file |
file_path → file_path; offset/limit → start_line/end_line |
Write |
write_file |
file_path → file_path; content → content |
Edit |
replace |
file_path → file_path; old_string → old_string; new_string → new_string; replace_all → allow_multiple |
Glob |
glob |
pattern → pattern; path → dir_path |
Grep |
grep_search |
pattern → pattern; path → dir_path; output_mode: "files_with_matches" → names_only: true |
| Claude Code | Gemini CLI | Params Translation |
|---|---|---|
Bash |
run_shell_command |
command → command; description → description (new); timeout → is_background for async |
Agent (subagent dispatch) |
Built-in agent delegation / @agent_name |
prompt → agent routing via natural language; subagent_type → @agent_name prefix |
| Claude Code | Gemini CLI | Params Translation |
|---|---|---|
WebSearch |
google_web_search |
query → query |
WebFetch |
web_fetch |
URL embedded in prompt param |
| Claude Code | Gemini CLI | Params Translation |
|---|---|---|
AskUserQuestion |
ask_user |
question → questions |
| Claude Code | Gemini CLI | Notes |
|---|---|---|
EnterPlanMode |
enter_plan_mode |
Params: reason |
ExitPlanMode |
exit_plan_mode |
Params: plan |
Memory via Write tool to memory files |
save_memory |
Params: fact — appends to GEMINI.md |
TaskCreate / TaskUpdate |
write_todos |
Params: todos — internal task tracking |
| Tool | Description | Use Case |
|---|---|---|
list_directory |
List files and subdirs | Directory exploration without shell |
read_many_files |
Batch file reading with patterns | Loading multiple files at once |
activate_skill |
Load a SKILL.md by name | Explicit skill invocation |
get_internal_docs |
Access Gemini CLI documentation | Self-help and debugging |
complete_task |
Subagent returns result to parent | Agent orchestration |