今すぐ始める
Openrouter Tools

Openrouter Create Chat Completion

Aident Loadout を通じて Openrouter Tools の Openrouter Create Chat Completion を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 2/5API キー接続

プロバイダーの説明

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…

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • ninteger
    Number of completion choices to generate.
  • stop
    Sequences where the API will stop generating further tokens.
  • userstring
    A unique identifier for the end-user to help detect abuse.
  • modelstring
    必須
    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.
  • top_pnumber
    Nucleus sampling probability, between 0 and 1.
  • streamboolean
    Whether to stream back partial message deltas.
  • messagesarray
    必須
    List of conversation messages to provide as context.
  • functionsarray
    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.
  • logit_biasobject
    Adjust the likelihood of specified tokens.
  • max_tokensinteger
    Maximum number of tokens to generate.
  • temperaturenumber
    Sampling temperature to use, between 0 and 2.
  • function_call
    Control function call behavior: 'none', 'auto', or specify {'name': function_name}.

確認できる出力

  • data
    必須
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必須
    Whether or not the action execution was successful or not

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース