Parallel AI icon

Parallel AI

Interact with Parallel AI

Actions537

Chat → Anthropic Messages

AI-generated

Summary

Sends messages to the Parallel AI Anthropic-compatible chat endpoint and returns the response. Supply the required model ID, maximum token count, and messages; optionally set system instructions, sampling controls, stop sequences, tools, tool choice, metadata, and streaming.

Inputs

  • Max Tokens (required) — Maximum tokens to generate.
  • Messages (required) — JSON array of input messages.
  • Model (required) — Model ID accepted by the Anthropic API. The platform serves every request using its fixed compatibility model.
  • Metadata — Optional request metadata as JSON.
  • Stop Sequences — Optional custom stop sequences as JSON.
  • Stream — Whether to request a streaming response; defaults to false.
  • System — Optional system prompt, as a string.
  • Temperature — Optional sampling temperature (0–1).
  • Tool Choice — Optional tool choice specification as JSON.
  • Tools — Optional tool definitions in Anthropic format, as JSON.
  • Top K — Optional top-k sampling parameter.
  • Top P — Optional nucleus sampling parameter.

Output shape

Not established by the provided source pack.

The operation implementation is omitted from the source pack, so the returned response shape and streaming behavior cannot be confirmed.

Links

Discussion