Skip to content
YarCraSy edited this page Jul 8, 2026 · 2 revisions

Previous page: UI Structure

Tools

Tools let DeepSeek read context, search, create files, and execute commands according to configuration and confirmations.

Base logic lives in src/core/tools. Actions that require VS Code run through ToolWorkspace, implemented in src/VsCodeApi/tools/VsCodeToolWorkspace.ts.

Principles:

  • metadata and validation in core.
  • real side effects in adapters.
  • human confirmation for dangerous operations.
  • structured results so the UI can render them well.

Next page: Built-in Tools

Clone this wiki locally