Skip to content

feat: add view_image tool#1061

Open
wgqqqqq wants to merge 2 commits into
GCWing:mainfrom
wgqqqqq:feat/view-image-tool
Open

feat: add view_image tool#1061
wgqqqqq wants to merge 2 commits into
GCWing:mainfrom
wgqqqqq:feat/view-image-tool

Conversation

@wgqqqqq
Copy link
Copy Markdown
Collaborator

@wgqqqqq wgqqqqq commented Jun 4, 2026

Summary

  • add a built-in view_image tool that attaches local or remote-workspace image bytes as multimodal tool output
  • expose the tool to multimodal-capable agents and register it in the product tool pack
  • support local absolute paths, local workspace paths, and remote SSH workspace-relative paths

Verification

  • cargo test -p bitfun-core view_image_ -- --nocapture
  • cargo test -p bitfun-core product_tool_materializer_preserves_provider_plan_order -- --nocapture
  • cargo test -p bitfun-tool-packs product_provider_group_plan_preserves_builtin_tool_order
  • cargo check -p bitfun-core
  • cargo check -p bitfun-core --no-default-features
  • git diff --check

@wgqqqqq wgqqqqq force-pushed the feat/view-image-tool branch from 3bd688e to e62e79f Compare June 4, 2026 08:39
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.

1 participant