Invokes a model using AWS Bedrock InvokeModel API format. Accepts raw model-specific request body.
Model ID (e.g., anthropic.claude-3-sonnet-20240229-v1:0)
Raw model invocation request. The body format depends on the model provider. For Anthropic models, use Anthropic format. For other models, use their native format.
Text prompt to complete
Anthropic-style max tokens
Anthropic-style stop sequences
For Claude 3 models
System prompt (string or array of strings)
Successful response
Raw model response. Format depends on the model provider.