Tools & Tasks
How Claude Code interacts with the world — executing commands, editing files, spawning agents, and managing work.
Tool System Overview
Tools are the AI's hands. Each tool provides a specific capability:
Tool = {
name: string // Unique identifier
description: string // Shown to the model in the system prompt
parameters: JSONSchema // Input schema for the model
execute(input, context) // Execution function
isEnabled() // Runtime availability check
isAutoApproved(context) // Permission check
}