pub fn format_list(
path: &str,
entries: &[Value],
total_count: usize,
truncated: bool,
) -> StringExpand description
Format a list/directory response
Creates a consistent response format for list operations (directories, search results, etc.). This is backward compatible with the existing ListDirectoryTool output format.
ยงArguments
path- The path that was listed (for directories) or query contextentries- The list of itemstotal_count- Total number of items (before truncation)truncated- Whether the list was truncated