Clarify view_image tool description (#23949)

This commit is contained in:
Curtis 'Fjord' Hawthorne
2026-05-26 14:17:43 -07:00
committed by GitHub
parent 66ff8b0f54
commit 675cb1afbd
2 changed files with 2 additions and 2 deletions
@@ -40,7 +40,7 @@ pub fn create_view_image_tool(options: ViewImageToolOptions) -> ToolSpec {
ToolSpec::Function(ResponsesApiTool {
name: VIEW_IMAGE_TOOL_NAME.to_string(),
description: "View a local image from the filesystem (only use if given a full filepath by the user, and the image isn't already attached to the thread context within <image ...> tags)."
description: "View a local image file from the filesystem when visual inspection is needed. Use this for images already available on disk."
.to_string(),
strict: false,
defer_loading: None,