description: "Declare workspace files as deliverables with present; configuration, Session ownership, and source-file opening."
English | 中文
Use present to declare final workspace files, including files created through shell commands. Users open the current source files in their default application. The tool records paths and optional descriptions without copying file contents.
The standard, ptc, and cordis agent presets mount this plugin. Call present with files: [{ path, description? }] after creating the files. Files must exist inside the Session workspace and be regular files. Missing files, directories, and paths outside the workspace fail the call.
Mount it in an agent's Cordis composition with tools, fs, and the turnBoundary Session projection available:
- name: '@deepseek-ai/dsh-tool-present'
config:
maxFiles: 8
| Field | Default | Meaning |
|---|---|---|
maxFiles |
8 |
Positive maximum file count per call |
The file-count limit is validated at mount. The tool requires an agent Session with a workspace and an open turn. Delivery belongs to the calling Session; a parent must call present itself to declare files created by a subagent.
The present schema asks for existing workspace files: “Declare existing workspace files as final deliverables. When a file you create or update is an output the user asked to receive, you must call present after writing it and before your final response, including files created through Bash or code execution. Mentioning its path in your reply does not replace this call. The files must already exist. The user opens the current source files; their contents are not copied or preserved.” Results report Presented <path> for each file; the program result and durable event contain paths and optional descriptions.
One tool schema per mounted agent and one result line per delivered file. File bytes do not enter model messages.
The tool schema is static for the mount lifetime. Delivery result text extends the conversation without rewriting its prompt prefix.