Skip to content

docs: add egg_tool_output.py to shared/ structure [doc-updater] - #2881

Merged
jwbron merged 1 commit into
mainfrom
egg/doc-update-egg-tool-output
May 29, 2026
Merged

docs: add egg_tool_output.py to shared/ structure [doc-updater]#2881
jwbron merged 1 commit into
mainfrom
egg/doc-update-egg-tool-output

Conversation

@james-in-a-box

Copy link
Copy Markdown
Contributor

Update documentation to reflect changes from 5605832 (Fix #2805: cap egg-owned MCP tool output at the tool layer, #2878):

  • Add shared/egg_tool_output.py to the shared-libraries section of docs/development/STRUCTURE.md. The module is a new flat stdlib-only helper that caps MCP tool output at 100 KB (configurable via EGG_TOOL_OUTPUT_CAP_BYTES) to prevent the Agent SDK's 1 MB reader-buffer crash; it was missing from the structure inventory.

The code change already updated docs/reference/agent-tools.md with a full EGG_TOOL_OUTPUT_CAP_BYTES reference section; this PR covers the remaining gap in STRUCTURE.md.

Triggered by: #2878

Authored-by: egg

@james-in-a-box

Copy link
Copy Markdown
Contributor Author

egg review completed. View run logs

@jwbron
jwbron merged commit ee318f1 into main May 29, 2026
19 checks passed
james-in-a-box Bot added a commit that referenced this pull request May 29, 2026
Authored-by: egg

Co-authored-by: jwbron <8340608+jwbron@users.noreply.github.com>
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.

Cap MCP @tool output sizes at the tool layer (follow-up to #2804)

1 participant