diff options
| author | Sandy Tao <[email protected]> | 2025-06-27 16:39:54 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-27 23:39:54 +0000 |
| commit | 150df382f8e0b84aa6028622480c28186c99b8a7 (patch) | |
| tree | bf2e663e90914390408202aed409a95dfd56fe57 /docs/core | |
| parent | 19d2a0fb35ff75ebbed2dda5c8574ffcc66cd4d5 (diff) | |
Upgrade to Ink 6 and React 19 (#2096)
Co-authored-by: jacob314 <[email protected]>
Diffstat (limited to 'docs/core')
| -rw-r--r-- | docs/core/tools-api.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/core/tools-api.md b/docs/core/tools-api.md index 44686bc5..9a902129 100644 --- a/docs/core/tools-api.md +++ b/docs/core/tools-api.md @@ -5,7 +5,6 @@ The Gemini CLI core (`packages/core`) features a robust system for defining, reg ## Core Concepts - **Tool (`tools.ts`):** An interface and base class (`BaseTool`) that defines the contract for all tools. Each tool must have: - - `name`: A unique internal name (used in API calls to Gemini). - `displayName`: A user-friendly name. - `description`: A clear explanation of what the tool does, which is provided to the Gemini model. @@ -16,7 +15,6 @@ The Gemini CLI core (`packages/core`) features a robust system for defining, reg - `execute()`: The core method that performs the tool's action and returns a `ToolResult`. - **`ToolResult` (`tools.ts`):** An interface defining the structure of a tool's execution outcome: - - `llmContent`: The factual string content to be included in the history sent back to the LLM for context. - `returnDisplay`: A user-friendly string (often Markdown) or a special object (like `FileDiff`) for display in the CLI. |
