Share via

"Error processing request: (invalid_value) 'tool_outputs' too large: the combined tool outputs must be less than 512kb. Code: invalid_value Message: 'tool_outputs' too large: the combined tool outputs must be less than 512kb."

Nishith Reddy Gurram 0 Reputation points
2025-11-29T11:39:18.2133333+00:00

We’re encountering the following error when the tool output is large:
"Error processing request: (invalid_value) 'tool_outputs' too large: the combined tool outputs must be less than 512kb. Code: invalid_value Message: 'tool_outputs' too large: the combined tool outputs must be less than 512kb."

Is this limitation related to the subscription plan?

Is there any configuration option at the agent level to increase this limit?

If not, what’s the recommended approach to handle large tool outputs?

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


1 answer

Sort by: Most helpful
  1. scott danial 0 Reputation points
    2026-01-04T11:44:26.5733333+00:00

    This is a hard platform limit, not related to your subscription plan.

    Plan-related? No. The 512 KB combined tool_outputs limit is fixed.

    Configurable? No. There’s no agent or org setting to increase it.

    Recommended approaches:

    Chunk or paginate tool outputs and process them incrementally.

    Summarize or filter results before returning them to the agent.

    Store large results externally (e.g., object storage/DB) and return a reference or ID.

    Stream results if supported, instead of returning everything at once.

    These patterns avoid hitting the limit while keeping workflows reliable.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.