directory_tree
Generate a directory tree for a specified path, resolving relative paths to the root directory or sandbox, enabling efficient document and file management within the Nutrient DWS MCP Server.
Instructions
Returns the directory tree of a given path. All paths are resolved relative to root directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the directory to analyze to find documents or files a user has referenced. Resolves to sandbox path if enabled, otherwise resolves to the local file system. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"path": {
"description": "The path to the directory to analyze to find documents or files a user has referenced. Resolves to sandbox path if enabled, otherwise resolves to the local file system.",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}