bedrockagentcore_invoke_harness: Operation to invoke a Harness

View source: R/bedrockagentcore_operations.R

bedrockagentcore_invoke_harnessR Documentation

Operation to invoke a Harness

Description

Operation to invoke a Harness.

See https://www.paws-r-sdk.com/docs/bedrockagentcore_invoke_harness/ for full documentation.

Usage

bedrockagentcore_invoke_harness(
  harnessArn,
  qualifier = NULL,
  runtimeSessionId,
  runtimeUserId = NULL,
  traceParent = NULL,
  traceState = NULL,
  traceId = NULL,
  baggage = NULL,
  messages,
  model = NULL,
  systemPrompt = NULL,
  tools = NULL,
  skills = NULL,
  allowedTools = NULL,
  maxIterations = NULL,
  maxTokens = NULL,
  timeoutSeconds = NULL,
  actorId = NULL
)

Arguments

harnessArn

[required] The ARN of the harness to invoke.

qualifier

The endpoint name to invoke. If omitted, the DEFAULT endpoint is used.

runtimeSessionId

[required] The session ID for the invocation. Use the same session ID across requests to continue a conversation.

runtimeUserId

An identifier for the end user making the request. This value is passed through to the runtime container.

traceParent

W3C trace context parent header containing version, trace ID, parent span ID, and trace flags.

traceState

W3C trace context state header for vendor-specific trace information.

traceId

Trace ID for maintaining observability through the operation.

baggage

W3C Baggage header for user-defined context propagation. Format: key1=value1,key2=value2

messages

[required] The messages to send to the agent.

model

The model configuration to use for this invocation. If specified, overrides the harness default.

systemPrompt

The system prompt to use for this invocation. If specified, overrides the harness default.

tools

The tools available to the agent for this invocation. If specified, overrides the harness default.

skills

The skills available to the agent for this invocation. If specified, overrides the harness default.

allowedTools

The tools that the agent is allowed to use for this invocation. If specified, overrides the harness default.

maxIterations

The maximum number of iterations the agent loop can execute. If specified, overrides the harness default.

maxTokens

The maximum number of tokens the agent can generate per iteration. If specified, overrides the harness default.

timeoutSeconds

The maximum duration in seconds for the agent loop execution. If specified, overrides the harness default.

actorId

The actor ID for memory operations. Overrides the actor ID configured on the harness.


paws.machine.learning documentation built on Oct. 8, 2026, 9:06 a.m.