WI

Windsurf Cascade — Tool Definitions (Wave 11)

Tool Schema ✦ Curated & attributed Advanced

TypeScript-namespace style tool definitions for Windsurf Cascade, declaring ~30 tools spanning codebase search (codebase_search, grep_search, find_by_name), file viewing/editing (view_file, view_code_item, replace_file_content, write_to_file), terminal control (run_command, command_status, read_terminal), an integrated Windsurf Browser API, web search/URL reading, Netlify deployment, a memory database, MCP resource access, and a multi_tool_use.parallel meta-tool.

What makes this prompt notable

  • Every tool requires a toolSummary argument declared first, with a recurring instruction that it 'takes precedence' over any other first-argument rule
  • replace_file_content uses ReplacementChunks with exact-match TargetContent plus an AllowMultiple flag and optional TargetLintErrorIds to tie edits to IDE lint feedback
  • Full integrated-browser toolset (browser_preview, capture_browser_console_logs, get_dom_tree, read_browser_page) for agent-driven web debugging
  • deploy_web_app enumerates a fixed list of supported frameworks (Next.js, Astro, SvelteKit, etc.) and distinguishes new vs. existing sites via ProjectId
  • Includes a multi_tool_use.parallel wrapper to batch independent tool calls, and trajectory_search for retrieving past conversation context

Discussion (0)

Sign in to join the discussion.
Related

More in Tool & Function Schemas

AU
Augment Code
tool schema

Augment Code — Tool Schemas (Claude Sonnet 4)

JSON tool-definition file for the Augment Agent (Claude Sonnet 4 variant) defining ~22 tools: file editing (str-replace-editor with line-numbered mult…

tool schema definition constraint setting in descriptions enum constraints
229 5.4k 2.3k words
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