L’API Responses Beta prend en charge des capacités complètes de Tool Calling, permettant au modèle de :Documentation Index
Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
Use this file to discover all available pages before exploring further.
- Effectuer du Function Calling
- Exécuter plusieurs outils en parallèle
- Gérer des workflows complexes en plusieurs étapes
Définition de base d’un outil
En-tête de requête
Corps de la requête
Stratégie d’invocation d’outils
Thetool_choice parameter controls when and how the model invokes tools.
| Parameter | Description |
|---|---|
| auto | The model automatically decides whether to invoke tools |
| none | Prevents the model from invoking any tools |
Définitions d’outils multiples
In complex tasks, multiple tools can be defined, allowing the model to choose the appropriate tool based on user needs.Réponse avec invocation d’outils
Recommandations d’utilisation
- Clear Descriptions: Provide detailed function descriptions and parameter explanations.
- Correct Format: Parameters should use valid JSON.
- Error Handling: Handle situations where tools may not be callable.
- Parallel Execution: Design tools to run independently whenever possible.
- Conversational Flow: Include tool responses in subsequent requests to provide context.
Dernière mise à jour : 2026-06-01