What if a tool message has the wrong tool_call_id?
Each tool message must carry the tool_call_id of a call in the assistant message just before it, and you must include that assistant message. A missing or mismatched id makes the conversation invalid, so expect a 400. Keep the ids exactly as the model returned them.
Good to know#
- Your key's account is responsible for your end users' text under the Abuse policy. What it means for apps
- Keep keys on your server, never in a browser or mobile app. Why
- Each key has its own limit: 10, 30 (default), 60 or 120 requests per minute. Rate limits
Still need help?#
- General support: support@clatterlabs.com or team@clatterlabs.xyz
- Infrastructure questions, or permanent deletion of your data (your whole account or one service): infrastructure@clatterlabs.xyz
We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.