Skip to content

feat: Add get_folder_contents tool#194

Closed
marcelklehr wants to merge 1 commit into
mainfrom
feat/get_folder_contents
Closed

feat: Add get_folder_contents tool#194
marcelklehr wants to merge 1 commit into
mainfrom
feat/get_folder_contents

Conversation

@marcelklehr

@marcelklehr marcelklehr commented Jun 18, 2026

Copy link
Copy Markdown
Member

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: ClaudeCode:claude-4-8
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@marcelklehr marcelklehr requested review from janepie and kyteinsky June 18, 2026 10:41

@kyteinsky kyteinsky left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already have the parsing logic in nc_py_api though, maybe that could be used directly?
like in https://github.com/nextcloud/context_agent/pull/193/changes#diff-f10bd8ef38ca10432d2634ffbc431b3efdf33436305caab351f514ba643c910fR184-R188

		files_handle = AsyncFilesAPI(nc._session)
		fsnode_list = await files_handle.listdir(
			path=MEMORY_FOLDER_PATH,
			depth=min(depth, MAX_MEMORY_FOLDER_DEPTH),
		)

@marcelklehr

Copy link
Copy Markdown
Member Author

Cool! Go for it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants