fix: match inventory filters on basename only

This commit is contained in:
Mikei386
2026-08-24 12:04:09 +02:00
parent 2a20426cab
commit d50df78441
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -542,7 +542,7 @@ export const TOOLS: ToolDef[] = [
properties: {
share: str("Exact Unraid share name, for example Audiobooks"),
relative_path: str("Optional path below the share; never use /mnt/user or an absolute path"),
name_contains: str("Optional case-insensitive path fragment, for example 'drei'. It filters returned entries; use a second call on a matched directory to list its descendants"),
name_contains: str("Optional case-insensitive basename fragment, for example 'drei'. It filters returned entries; use a second call on a matched directory to list its descendants"),
max_depth: int("Maximum directory depth below relative_path (1-20, default 10)"),
max_entries: int("Maximum returned entries (1-5000, default 2000)"),
include_files: { type: "boolean", description: "Include files (default true)" },