Share via

How to increase output response size for agent created in Copilot Studio

Saboungi, Seraj 20 Reputation points
2026-05-14T20:32:51.9166667+00:00

I've created an agent in Copilot Studio, and noticed that it in some responses, it truncates data and fails to continue retrieving the rest of the data after a certain point. When I inquired about this further, the agent told me:

"My UniversalSearchTool doesn't give me the ability to open a file and read it end-to-end like you would. Instead, it works like a search engine: I send it a query, and it returns excerpts/chunks of matching text from the underlying documents. Each chunk has a maximum size limit on how much text it can return."

Is there a way to increase this size limit in order to return more text?

The text files I've fed the agent in the Knowledge section are formatted in Markdown. In case there isn't a way to increase the size limit of the agent's UniversalSearchTool, would it be recommended that I remove the Markdown formatting in the Knowledge files in order to save more character/token space?

Microsoft Copilot | Microsoft 365 Copilot | Development
0 comments No comments

Answer accepted by question author

Nivedipa-MSFT 4,246 Reputation points Microsoft External Staff Moderator
2026-05-15T07:41:58.63+00:00

Hello Saboungi, Seraj,
No, you can't increase the chunk size — it's a fixed service-side limit in Copilot Studio.

Don't strip Markdown — headings actually help retrieval by giving chunks clear boundaries and semantic anchors. Removing them usually makes results worse.

To fix truncation:

  1. Split large files into smaller, self-contained sections (~500–800 words) under clear ## headings.
  2. Restate context in each section (chunks are retrieved independently).
  3. Avoid huge tables — they split badly across chunks.
  4. For data that must return in full, bypass Knowledge and use a Power Automate flow / custom connector / HTTP action that returns the complete payload.

If you found the information above helpful, I would appreciate it if you could share your feedback.**
Your feedback is important to us. Please rate us:**
🤩 Excellent 🙂 Good 😐 Average 🙁 Needs Improvement 😠 Poor

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

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.