/v1/chat/completions für Nachrichtenschleifen im OpenAI-Stil, /v1/responses für die Responses API, /v1/messages für Anthropic-native Apps.
- Chat Completions
- Responses
Wenn
finish_reason den Wert tool_calls hat, führe jeden Aufruf aus und sende dann die Assistant-Nachricht unverändert, gefolgt von einer Nachricht mit role: "tool" pro Aufruf, zugeordnet über tool_call_id. Sende tools erneut mit.