I got an error saying response is mcp response capped

Callsession id = call_6afa000769440c576c0687870fc ,the agent has been working but now i see that the mcp response is being capped @Shah-Fazal

image

Hey @duncan The error “Function result too long, capping response” means your custom function returned a response exceeding 15,000 characters. Retell caps the result at that limit before sending it to the LLM.

Fix option: Trim your response — return only the data the LLM actually needs, not full API payloads.

Thank You