Description fix

This commit is contained in:
moosecrap 2026-07-24 20:47:52 -07:00
parent c705d30484
commit b6a820aa21

View File

@ -47,7 +47,7 @@ TOOL_REGISTRY = [
),
Tool(
name="contact_sheet",
description="Generates a coarse, high-density overview of a directory. This tool is paginated; a single page may not show all images. To perform a comprehensive scan or find specific images, you MUST iterate through multiple pages. DO NOT use this for selecting specific images or making quality judgments; use preview_image for those tasks.",
description="Generates a coarse, high-density overview of images in a directory. This tool is paginated; a single page may not show all images. To perform a comprehensive scan or find specific images, you MUST iterate through multiple pages. If ANYTHING requires selecting individual images, then use indices as inputs to preview_image. Rely on this tool ONLY for a general characterization of images in a directory, NOT anything about specific images.",
schema={
"type": "object",
"properties": {
@ -61,7 +61,7 @@ TOOL_REGISTRY = [
),
Tool(
name="list_directory",
description="Lists the contents of a directory in a simplified format. Directories first, then files. Supports pagination and sorting.",
description="Lists the contents of a directory in a simplified text format. Use this for checking file existence, sizes, or dates or for quick filesystem navigation. DO NOT use this tool for any sort of visual or image selection.",
schema={
"type": "object",
"properties": {
@ -76,7 +76,7 @@ TOOL_REGISTRY = [
),
Tool(
name="preview_image",
description="Provides low-resolution previews and detailed file info for specific images. It uses the minimum viable token budget, so some fine details will be missed. This is the PRIMARY tool for inspecting files, comparing candidates, or selecting images before moving to read_image for maximum detail.",
description="Provides low-resolution previews and information such as filenames, size, and resolution for specific images. It uses the minimum viable token budget, so details WILL be missed. Only use this tool for quick down-selection of images from contact_sheet or where accuracy does not matter. For final confirmation or deep analysis of a single selected image, you MUST use read_image after this tool.",
schema={
"type": "object",
"properties": {