AU

Augment Code — Tool Schemas (Claude Sonnet 4)

Tool Schema ✦ Curated & attributed Claude Sonnet 4 Advanced

JSON tool-definition file for the Augment Agent (Claude Sonnet 4 variant) defining ~22 tools: file editing (str-replace-editor with line-numbered multi-edit semantics), file view/save/remove, process lifecycle (launch/read/write/kill/list-processes), codebase-retrieval and git-commit-retrieval context engines, web-search/web-fetch, diagnostics, terminal reading, task management (add/update/reorganize/view), remember, and render-mermaid.

What makes this prompt notable

  • str-replace-editor requires an 'instruction_reminder' field whose value must be the exact string capping edits at 150 lines per call
  • Multi-edit and multi-insert encoded via numbered suffixes (old_str_1/new_str_1/line numbers, old_str_2...) with inclusive 1-based line ranges to disambiguate duplicates
  • save-file similarly forces a verbatim 'LIMIT THE FILE CONTENT TO AT MOST 300 LINES' reminder and explicitly forbids overwriting existing files
  • Separates codebase-retrieval (current disk state, no history) from git-commit-retrieval (commit-history-aware) as two distinct retrieval engines

Discussion (0)

Sign in to join the discussion.
Related

More in Tool & Function Schemas

LE
Leap.new
tool schema

Leap.new — Tool Schema Definitions (JSON)

JSON tool/function schema file defining ten code-generation tools for the Leap.new app builder, including create_artifact, define_backend_service, cre…

JSON Schema tool definitions enum constraints nested object schemas
228 6.5k 1.4k words
TR
Traycer AI
tool schema

Traycer AI — Plan Mode Tool Schemas

Tool schemas for Traycer's Plan mode, layering exploration tools (list_dir, file_search, grep_search, read_file, LSP navigation, get_diagnostics) with…

tool-use protocol structured JSON schema multi-agent orchestration
216 5k 1.4k words
Claude Code
tool schema

Claude Code — Tool Definitions (JSON Schema)

Machine-readable JSON array of Claude Code's 15 tool definitions, each with a descriptive prose blurb and an input_schema. Tools include Task (subagen…

tool-use protocol constraint setting few-shot
214 3.3k 5.2k words