Claudeway Chat Model icon

Claudeway Chat Model

Chat Model via Claudeway Gateway (Claude CLI)

Claudeway Chat Model

AI-generated

Summary

Use the Claudeway Chat Model to send a prompt conversation to a Claude model via the Claudeway gateway and receive its AI-generated response.

Inputs

  • model — Select the Claude model to use. Leaving this empty uses the server default model.
  • systemPrompt — An optional system prompt to configure Claude's behavior during the chat.
  • timeoutSecs — Maximum time in seconds to wait for Claude's response before timing out (default is 120 seconds).

Output shape

a single AI-generated chat response with metadata

The output includes the full AI message text, token usage details, and cost information if available. If the API call or task fails, an error is thrown.

Links

Discussion