Filesystem & File Search
Read, write and edit files, then discover files with glob and grep.
On this page
Many official DSH packages are already shipped in the Standard preset or host runtime. Check the install status below before adding dependencies or editing a composition.
Install and usage entry
No download needed for Standard
The Standard agent preset already mounts the model-facing capability. Do not install a duplicate copy just to make the tool appear.
Where you use it
Standard preset → choose a workspace → ask the agent to read, search, create or edit files.
What it does
@deepseek-ai/dsh-tool-fs
Related official packages: @deepseek-ai/dsh-tool-fs-search
- tool-fs exposes read, write and edit operations to the model.
- tool-fs-search exposes glob and grep discovery backed by ripgrep.
- Actual file access still depends on the mounted filesystem provider, workspace and permission policy.
Is it already enabled?
The official Standard preset already loads both Filesystem and File Search. Add these rows only when you are building or copying a custom preset that does not already include them.
Configuration example
Use this as a reference when editing a custom Cordis composition. Installing a dependency does not by itself guarantee the plugin is mounted; the composition still controls what runs.
- id: tool-fs
name: '@deepseek-ai/dsh-tool-fs'
- id: tool-fs-search
name: '@deepseek-ai/dsh-tool-fs-search'
config:
sampleOverCapGlobResults: falseHow to verify it
- Select a disposable workspace.
- Ask DSH to list files and read an existing text file.
- Ask it to create one small test file, then verify that file directly on disk.
Limits and boundaries
- Loading the tool does not grant unrestricted filesystem access.
- Sandbox mode, workspace boundaries and approval policy can still block writes.
- File Search is a separate plugin from read/write/edit.