Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Switch the model from "Auto" to GPT 5.5, that should solve it.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I am trying to use the new Cowork feature in Microsoft Copilot and am unable to start any session due to the following error:
API Error: 400 Invalid 'tools': array too long. Expected an array with maximum length 128, but got an array with length 144 instead.
Environment:
I initially encountered the problem while attempting to begin a software development project, so I suspected the prompt might be too large or complex.
To eliminate prompt-related causes, I repeated the test with the following minimal prompt:
Generate PHP "Hello World" script
The same error occurred immediately.
Observations:
Questions:
I have attached screenshots demonstrating:
Since both fail with the exact same error, I believe the issue is unrelated to prompt content.
Any guidance would be appreciated.
Thank you.
Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Switch the model from "Auto" to GPT 5.5, that should solve it.