Skip to content

feat(agentic): include written content in Write tool results#897

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/file-write-include-content-in-result
May 26, 2026
Merged

feat(agentic): include written content in Write tool results#897
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/file-write-include-content-in-result

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 26, 2026

Summary

  • Include the persisted file content in Write tool structured result data (content field).
  • Echo written content in result_for_assistant inside <bitfun_contents> tags so models can verify what was actually written, especially after two-stage Write flows.
  • Extend unit tests to cover content echo for identical-content skip, overwrite, and plaintext follow-up paths.

Test plan

  • cargo test -p bitfun-core file_write_tool -- --nocapture (14 tests passed)

Echo persisted file content in structured tool data and assistant-facing
results so models can verify what was actually written after two-stage
Write flows.
@bobleer bobleer merged commit fdabd83 into GCWing:main May 26, 2026
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