Openrouter Tools
Openrouter Create Chat Completion
Utilisez Openrouter Create Chat Completion avec Openrouter Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.
Action d'écritureNiveau de risque 2 sur 5Connexion par clé API
Description du fournisseur
Tool to generate a chat-style completion. Use after assembling messages and selecting a model. Supports streaming and function calls. Response format varies across models; use explicit prompt instructions to standardize output. Provider-level rate limits and moderation policies…
Tarifs et limites
- Tarif
- Action gratuite
- Paiement unifié
- Non pris en charge actuellement
Entrées
- Number of completion choices to generate.ninteger
- Sequences where the API will stop generating further tokens.stop
- A unique identifier for the end-user to help detect abuse.userstring
- ID of the model to use for the chat completion. Must exactly match an ID returned by OPENROUTER_LIST_AVAILABLE_MODELS; typos or approximate names cause request failures.modelstringObligatoire
- Nucleus sampling probability, between 0 and 1.top_pnumber
- Whether to stream back partial message deltas.streamboolean
- List of conversation messages to provide as context.messagesarrayObligatoire
- List of functions the model may call. Only supported by models that explicitly advertise function-calling capability via OPENROUTER_LIST_AVAILABLE_MODELS. Each function schema must be valid JSON; malformed schemas cause runtime failures regardless of prompt correctness.functionsarray
- Adjust the likelihood of specified tokens.logit_biasobject
- Maximum number of tokens to generate.max_tokensinteger
- Sampling temperature to use, between 0 and 2.temperaturenumber
- Control function call behavior: 'none', 'auto', or specify {'name': function_name}.function_call
Sortie observable
- Data from the action executiondataObligatoire
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanObligatoire
Skills qui utilisent cette Action
Cas d’usage associés
Aucun cas d’usage associé et vérifié pour le moment.