Clatter LabsHelp Center

SuperCosmos never calls my tool. Why?

TroubleshootingUpdated
  • Description: say when to use the tool ("Use when the user asks about an order").
  • tool_choice: make sure it isn't "none".
  • Is it needed? If the model can answer without the tool, it may not call it.
  • Test: set tool_choice to the specific function; if that works, improve the description.
  • Schema: invalid JSON schema in parameters can stop tools from being used properly.

Good to know#

  • Keep keys on your server, never in a browser or mobile app. Why
  • Model ids: supercosmos-flash, supercosmos-max, supercosmos-heavy (SuperCosmos 1.1). Which to call
  • Base URL: https://api.gateway.clatterlabs.xyz/v1, with Authorization: Bearer clsk_... and X-Clatter-Account: CL-... on every call. Quick reference

Still need help?#

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.xyz
For deleting your whole account or the data of one service.