lspace_browse_knowledge_base
Browse and read files or directories in the Lspace knowledge base. Syncs with the remote server for updated content; use 'list_directory' to view folders or 'read_file' for file contents.
Instructions
📖 BROWSE: Read existing knowledge base files/directories (read-only). Automatically syncs with remote before browsing to ensure latest content. Example: To list files in 'Lspace Official Docs' root, use repositoryId='b3fcb584-5fd9-4098-83b8-8c5d773d86eb', operation='list_directory', path='.'
Input Schema
Name | Required | Description | Default |
---|---|---|---|
operation | Yes | Operation type: 'list_directory' to see files/folders, 'read_file' to read file contents. Use 'lspace_add_content' for content creation. | |
path | Yes | Path relative to repository root. Use '.' for root directory, 'folder/file.txt' for specific files. | |
repositoryId | Yes | The ID of the Lspace repository. Use 'lspace_list_repositories' first to get repository IDs. |