docs: Add comprehensive native tools reference#2
Merged
spaceghostp merged 2 commits intomainfrom Jan 30, 2026
Merged
Conversation
Document all 27 native tools available in Claude Code CLI with their complete anatomy including parameters, types, descriptions, and behavioral characteristics (read-only, concurrency-safe, etc.). https://claude.ai/code/session_01CJnBiMXiuhsnvvvcqAMPYS
Apply improvements from 6-rubric adversarial review (overall 2.05/5 → targeting 4+/5): Accuracy fixes: - Fix AskUserQuestion header max from ~20 to 12 chars - Add 3 missing Task parameters (name, team_name, mode with enum values) - Add 6 missing Teammate parameters (agent_id, description, reason, request_id, feedback, assigned_name) - Add 2 missing AskUserQuestion parameters (answers, metadata) - Add deprecated shell_id parameter to TaskStop - Document aliases (KillShell, AgentOutputTool, BashOutputTool) - Add missing default values for Grep (head_limit, offset, multiline) - Document AskUserQuestion uniqueness constraints - Note Task max_turns as positive integer - Document Bash _simulatedSedEdit as internal parameter - Add max result sizes for all tools in Full Tool Matrix - Add Requires Permission property to all 27 tools Structural enhancements: - Add Glossary defining 13 domain terms - Add Quick Reference with essential tools, use-case table, and full tool matrix - Add Tool Selection Guide (file ops, search, execution, orchestration) - Add Common Workflow Patterns (Read→Edit, Glob→Grep→Read, background tasks, parallel ops, sub-agent delegation) - Add Permission & Security Model (auto-allowed list, permission-required table, sandbox, config) - Add Configuration Reference (env vars, CLI flags, config files) - Split "Agent/Task Tools" into "Sub-Agent Execution" and "Task Management" - Split "Interaction & Intelligence" into separate categories - Document TodoWrite/TaskCreate mutual exclusivity - Add Historical Names table (View→Read, aliases) - Add MCP configuration section with CLI commands - Add cross-references between related tools - Add examples, best practices, and common errors for core tools - Document WebSearch platform availability constraints - Add Glob path guidance (don't enter "undefined"/"null") https://claude.ai/code/session_01CJnBiMXiuhsnvvvcqAMPYS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Document all 27 native tools available in Claude Code CLI with their
complete anatomy including parameters, types, descriptions, and
behavioral characteristics (read-only, concurrency-safe, etc.).
https://claude.ai/code/session_01CJnBiMXiuhsnvvvcqAMPYS