Amazon Bedrock · Schema
UpdateHarnessRequest
Artificial IntelligenceAmazon Web ServicesFoundation ModelsGenerative AILLMMachine LearningRAGAgentsResponsible AIModel Serving
Properties
| Name | Type | Description |
|---|---|---|
| harnessId | string | The ID of the harness to update. |
| clientToken | string | A unique, case-sensitive identifier to ensure idempotency of the request. |
| executionRoleArn | string | The ARN of the IAM role that the harness assumes when running. If not specified, the existing value is retained. |
| environment | object | |
| environmentArtifact | object | |
| environmentVariables | object | Environment variables to set in the harness runtime environment. If specified, this replaces all existing environment variables. If not specified, the existing value is retained. |
| authorizerConfiguration | object | |
| model | object | |
| systemPrompt | array | The system prompt that defines the agent's behavior. If not specified, the existing value is retained. |
| tools | array | The tools available to the agent. If specified, this replaces all existing tools. If not specified, the existing value is retained. |
| skills | array | The skills available to the agent. If specified, this replaces all existing skills. If not specified, the existing value is retained. |
| allowedTools | array | The tools that the agent is allowed to use. If specified, this replaces all existing allowed tools. If not specified, the existing value is retained. |
| memory | object | |
| truncation | object | |
| hooks | array | The lifecycle hooks to run at defined points in the agent loop. If specified, this replaces all existing hooks. If not specified, the existing hooks are retained. |
| maxIterations | integer | The maximum number of iterations the agent loop can execute per invocation. If not specified, the existing value is retained. |
| maxTokens | integer | The maximum total number of output tokens the agent can generate across all model calls within a single invocation. If not specified, the existing value is retained. |
| timeoutSeconds | integer | The maximum duration in seconds for the agent loop execution per invocation. If not specified, the existing value is retained. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-update-harness-request-schema.json",
"title": "UpdateHarnessRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-bedrock-harnesses-api-openapi.yml#/components/schemas/UpdateHarnessRequest",
"type": "object",
"properties": {
"harnessId": {
"type": "string",
"description": "The ID of the harness to update."
},
"clientToken": {
"type": "string",
"description": "A unique, case-sensitive identifier to ensure idempotency of the request."
},
"executionRoleArn": {
"type": "string",
"description": "The ARN of the IAM role that the harness assumes when running. If not specified, the existing value is retained."
},
"environment": {
"$ref": "#/$defs/HarnessEnvironmentProviderRequest"
},
"environmentArtifact": {
"$ref": "#/$defs/UpdatedHarnessEnvironmentArtifact"
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Environment variables to set in the harness runtime environment. If specified, this replaces all existing environment variables. If not specified, the existing value is retained."
},
"authorizerConfiguration": {
"$ref": "#/$defs/UpdatedAuthorizerConfiguration"
},
"model": {
"$ref": "#/$defs/HarnessModelConfiguration"
},
"systemPrompt": {
"type": "array",
"items": {
"$ref": "#/$defs/HarnessSystemContentBlock"
},
"description": "The system prompt that defines the agent's behavior. If not specified, the existing value is retained."
},
"tools": {
"type": "array",
"items": {
"$ref": "#/$defs/HarnessTool"
},
"description": "The tools available to the agent. If specified, this replaces all existing tools. If not specified, the existing value is retained."
},
"skills": {
"type": "array",
"items": {
"$ref": "#/$defs/HarnessSkill"
},
"description": "The skills available to the agent. If specified, this replaces all existing skills. If not specified, the existing value is retained."
},
"allowedTools": {
"type": "array",
"items": {
"type": "string"
},
"description": "The tools that the agent is allowed to use. If specified, this replaces all existing allowed tools. If not specified, the existing value is retained."
},
"memory": {
"$ref": "#/$defs/UpdatedHarnessMemoryConfiguration"
},
"truncation": {
"$ref": "#/$defs/HarnessTruncationConfiguration"
},
"hooks": {
"type": "array",
"items": {
"$ref": "#/$defs/HarnessHook"
},
"description": "The lifecycle hooks to run at defined points in the agent loop. If specified, this replaces all existing hooks. If not specified, the existing hooks are retained."
},
"maxIterations": {
"type": "integer",
"description": "The maximum number of iterations the agent loop can execute per invocation. If not specified, the existing value is retained."
},
"maxTokens": {
"type": "integer",
"description": "The maximum total number of output tokens the agent can generate across all model calls within a single invocation. If not specified, the existing value is retained."
},
"timeoutSeconds": {
"type": "integer",
"description": "The maximum duration in seconds for the agent loop execution per invocation. If not specified, the existing value is retained."
}
},
"required": [
"harnessId"
],
"$defs": {
"AllowedWorkloadConfiguration": {
"type": "object",
"properties": {
"hostingEnvironments": {
"type": "array",
"items": {
"$ref": "#/$defs/HostingEnvironment"
},
"description": "The list of hosting environments whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway."
},
"workloadIdentities": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of workload identities that are allowed to invoke the target."
}
}
},
"AuthorizerConfiguration": {
"type": "object",
"properties": {
"customJWTAuthorizer": {
"$ref": "#/$defs/CustomJWTAuthorizerConfiguration"
}
},
"description": "Exactly one member is set."
},
"AuthorizingClaimMatchValueType": {
"type": "object",
"properties": {
"claimMatchValue": {
"$ref": "#/$defs/ClaimMatchValueType"
},
"claimMatchOperator": {
"type": "string",
"enum": [
"EQUALS",
"CONTAINS",
"CONTAINS_ANY"
],
"description": "Defines the relationship between the claim field value and the value or values you're matching for."
}
},
"required": [
"claimMatchValue",
"claimMatchOperator"
]
},
"BedrockAgentcoreControlVpcConfig": {
"type": "object",
"properties": {
"securityGroups": {
"type": "array",
"items": {
"type": "string"
},
"description": "The security groups associated with the VPC configuration."
},
"subnets": {
"type": "array",
"items": {
"type": "string"
},
"description": "The subnets associated with the VPC configuration."
},
"requireServiceS3Endpoint": {
"type": "boolean",
"description": "This field applies only to Agent Runtimes. It is not applicable to Browsers or Code Interpreters. Controls whether a service-managed Amazon S3 gateway endpoint is provisioned in the VPC network topology for the agent runtime. This gateway is used by Amazon Bedrock AgentCore Runtime to download code and container images during agent startup. Starting May 5, 2026, Amazon Bedrock AgentCore Runtime is gradually rolling out a change to how network isolation is configured for VPC mode agents. Agent runtimes created on or after this rollout will no longer include the service-managed Amazon S3 gateway"
}
},
"required": [
"securityGroups",
"subnets"
]
},
"CapacityProviderVolumeConfiguration": {
"type": "object",
"properties": {
"volumeName": {
"type": "string",
"description": "The logical name of the capacity provider volume to mount. This name must match a volume that is defined in the capacity provider's list of volumes."
},
"mountPath": {
"type": "string",
"description": "The mount path for the capacity provider volume inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data)."
}
},
"required": [
"volumeName",
"mountPath"
]
},
"ClaimMatchValueType": {
"type": "object",
"properties": {
"matchValueString": {
"type": "string",
"description": "The string value to match for."
},
"matchValueStringList": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of strings to check for a match."
}
},
"description": "Exactly one member is set."
},
"ContainerConfiguration": {
"type": "object",
"properties": {
"containerUri": {
"type": "string",
"description": "The ECR URI of the container."
}
},
"required": [
"containerUri"
]
},
"CustomClaimValidationType": {
"type": "object",
"properties": {
"inboundTokenClaimName": {
"type": "string",
"description": "The name of the custom claim field to check."
},
"inboundTokenClaimValueType": {
"type": "string",
"enum": [
"STRING",
"STRING_ARRAY"
],
"description": "The data type of the claim value to check for. Use STRING if you want to find an exact match to a string you define. Use STRING_ARRAY if you want to fnd a match to at least one value in an array you define."
},
"authorizingClaimMatchValue": {
"$ref": "#/$defs/AuthorizingClaimMatchValueType"
}
},
"required": [
"inboundTokenClaimName",
"inboundTokenClaimValueType",
"authorizingClaimMatchValue"
]
},
"CustomJWTAuthorizerConfiguration": {
"type": "object",
"properties": {
"discoveryUrl": {
"type": "string",
"description": "This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens."
},
"allowedAudience": {
"type": "array",
"items": {
"type": "string"
},
"description": "Represents individual audience values that are validated in the incoming JWT token validation process."
},
"allowedClients": {
"type": "array",
"items": {
"type": "string"
},
"description": "Represents individual client IDs that are validated in the incoming JWT token validation process."
},
"allowedScopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of scopes that are allowed to access the token."
},
"advertisedScopeMapping": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "A map that associates each scope in allowedScopes with a corresponding advertised scope value. The advertised scope appears in OAuth protected resource metadata and WWW-Authenticate response headers. Use this parameter when the scope that clients request from your identity provider differs from the scope in the validated token. Each key is a scope from allowedScopes that the service uses for token validation. Each value is the corresponding scope that the service advertises to clients. Scopes without a mapping entry appear unchanged to clients."
},
"customClaims": {
"type": "array",
"items": {
"$ref": "#/$defs/CustomClaimValidationType"
},
"description": "An array of objects that define a custom claim validation name, value, and operation"
},
"privateEndpoint": {
"$ref": "#/$defs/PrivateEndpoint"
},
"privateEndpointOverrides": {
"type": "array",
"items": {
"$ref": "#/$defs/PrivateEndpointOverride"
},
"description": "The private endpoint overrides for the custom JWT authorizer configuration."
},
"allowedWorkloadConfiguration": {
"$ref": "#/$defs/AllowedWorkloadConfiguration"
}
},
"required": [
"discoveryUrl"
]
},
"EfsAccessPointConfiguration": {
"type": "object",
"properties": {
"accessPointArn": {
"type": "string",
"description": "The ARN of the EFS access point to mount into the AgentCore Runtime."
},
"mountPath": {
"type": "string",
"description": "The mount path for the EFS access point inside the AgentCore Runtime. The path must be under /mnt with exactly one subdirectory level (for example, /mnt/data)."
}
},
"required": [
"accessPointArn",
"mountPath"
]
},
"FilesystemConfiguration": {
"type": "object",
"properties": {
"sessionStorage": {
"$ref": "#/$defs/SessionStorageConfiguration"
},
"s3FilesAccessPoint": {
"$ref": "#/$defs/S3FilesAccessPointConfiguration"
},
"efsAccessPoint": {
"$ref": "#/$defs/EfsAccessPointConfiguration"
},
"capacityProviderVolume": {
"$ref": "#/$defs/CapacityProviderVolumeConfiguration"
}
},
"description": "Exactly one member is set."
},
"HarnessAfterInvocationHook": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the hook."
},
"target": {
"$ref": "#/$defs/HarnessHookTarget"
}
},
"required": [
"name",
"target"
]
},
"HarnessAfterToolCallHook": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the hook."
},
"target": {
"$ref": "#/$defs/HarnessHookTarget"
}
},
"required": [
"name",
"target"
]
},
"HarnessAgentCoreBrowserConfig": {
"type": "object",
"properties": {
"browserArn": {
"type": "string",
"description": "If not populated, the built-in Browser ARN is used."
}
}
},
"HarnessAgentCoreCodeInterpreterConfig": {
"type": "object",
"properties": {
"codeInterpreterArn": {
"type": "string",
"description": "If not populated, the built-in Code Interpreter ARN is used."
}
}
},
"HarnessAgentCoreGatewayConfig": {
"type": "object",
"properties": {
"gatewayArn": {
"type": "string",
"description": "The ARN of the desired AgentCore Gateway."
},
"outboundAuth": {
"$ref": "#/$defs/HarnessGatewayOutboundAuth"
}
},
"required": [
"gatewayArn"
]
},
"HarnessAgentCoreMemoryConfiguration": {
"type": "object",
"properties": {
"arn": {
"type": "string",
"description": "The ARN of the AgentCore Memory resource."
},
"actorId": {
"type": "string",
"description": "The actor ID for memory operations."
},
"messagesCount": {
"type": "integer",
"description": "The number of messages to retrieve from memory."
},
"retrievalConfig": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/HarnessAgentCoreMemoryRetrievalConfig"
},
"description": "The retrieval configuration for long-term memory, mapping namespace path templates to retrieval settings."
}
},
"required": [
"arn"
]
},
"HarnessAgentCoreMemoryRetrievalConfig": {
"type": "object",
"properties": {
"topK": {
"type": "integer",
"description": "The maximum number of memory entries to retrieve."
},
"relevanceScore": {
"type": "number",
"description": "The minimum relevance score for retrieved memories."
},
"strategyId": {
"type": "string",
"description": "The ID of the retrieval strategy to use."
}
}
},
"HarnessAgentCoreRuntimeEnvironmentRequest": {
"type": "object",
"properties": {
"lifecycleConfiguration": {
"$ref": "#/$defs/LifecycleConfiguration"
},
"networkConfiguration": {
"$ref": "#/$defs/NetworkConfiguration"
},
"filesystemConfigurations": {
"type": "array",
"items": {
"$ref": "#/$defs/FilesystemConfiguration"
},
"description": "The filesystem configurations for the runtime environment."
}
}
},
"HarnessBedrockModelConfig": {
"type": "object",
"properties": {
"modelId": {
"type": "string",
"description": "The Bedrock model ID."
},
"maxTokens": {
"type": "integer",
"description": "The maximum number of tokens to allow in the generated response per iteration."
},
"temperature": {
"type": "number",
"description": "The temperature to set when calling the model."
},
"topP": {
"type": "number",
"description": "The topP set when calling the model."
},
"apiFormat": {
"type": "string",
"enum": [
"converse_stream",
"responses",
"chat_completions"
],
"description": "The API format to use when calling the Bedrock provider."
},
"additionalParams": {
"type": "object",
"description": "Provider-specific parameters passed through to the model provider unchanged."
}
},
"required": [
"modelId"
]
},
"HarnessBeforeInvocationHook": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the hook."
},
"target": {
"$ref": "#/$defs/HarnessHookTarget"
}
},
"required": [
"name",
"target"
]
},
"HarnessBeforeToolCallHook": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the hook."
},
"target": {
"$ref": "#/$defs/HarnessHookTarget"
}
},
"required": [
"name",
"target"
]
},
"HarnessDisabledMemoryConfiguration": {
"type": "object",
"properties": {}
},
"HarnessEnvironmentArtifact": {
"type": "object",
"properties": {
"containerConfiguration": {
"$ref": "#/$defs/ContainerConfiguration"
}
},
"description": "Exactly one member is set."
},
"HarnessEnvironmentProviderRequest": {
"type": "object",
"properties": {
"agentCoreRuntimeEnvironment": {
"$ref": "#/$defs/HarnessAgentCoreRuntimeEnvironmentRequest"
}
},
"description": "Exactly one member is set."
},
"HarnessGatewayOutboundAuth": {
"type": "object",
"properties": {
"awsIam": {
"type": "string",
"description": "SigV4-sign requests using the agent's execution role."
},
"none": {
"type": "string",
"description": "No authentication."
},
"oauth": {
"$ref": "#/$defs/OAuthCredentialProvider"
}
},
"description": "Exactly one member is set."
},
"HarnessGeminiModelConfig": {
"type": "object",
"properties": {
"modelId": {
"type": "string",
"description": "The Gemini model ID."
},
"apiKeyArn": {
"type": "string",
"description": "The ARN of your Gemini API key on AgentCore Identity."
},
"maxTokens": {
"type": "integer",
"description": "The maximum number of tokens to allow in the generated response per iteration."
},
"temperature": {
"type": "number",
"description": "The temperature to set when calling the model."
},
"topP": {
"type": "number",
"description": "The topP set when calling the model."
},
"topK": {
"type": "integer",
"description": "The topK set when calling the model."
},
"additionalParams": {
"type": "object",
"description": "Provider-specific parameters passed through to the Gemini model provider unchanged."
}
},
"required": [
"modelId",
"apiKeyArn"
]
},
"HarnessHook": {
"type": "object",
"properties": {
"beforeInvocation": {
"$ref": "#/$defs/HarnessBeforeInvocationHook"
},
"afterInvocation": {
"$ref": "#/$defs/HarnessAfterInvocationHook"
},
"beforeToolCall": {
"$ref": "#/$defs/HarnessBeforeToolCallHook"
},
"afterToolCall": {
"$ref": "#/$defs/HarnessAfterToolCallHook"
}
},
"description": "Exactly one member is set."
},
"HarnessHookEventBridgeTarget": {
"type": "object",
"properties": {
"arn": {
"type": "string",
"description": "The ARN of the Amazon EventBridge event bus to send hook events to."
}
},
"required": [
"arn"
]
},
"HarnessHookLambdaTarget": {
"type": "object",
"properties": {
"arn": {
"type": "string",
"description": "The ARN of the Lambda function to invoke."
},
"timeoutSeconds": {
"type": "integer",
"description": "The maximum number of seconds to wait for the Lambda function response. The default is 60 seconds."
},
"failureMode": {
"type": "string",
"enum": [
"allow",
"deny"
],
"description": "The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is DENY."
}
},
"required": [
"arn"
]
},
"HarnessHookSnsTarget": {
"type": "object",
"properties": {
"arn": {
"type": "string",
"description": "The ARN of the Amazon SNS topic to publish hook events to."
}
},
"required": [
"arn"
]
},
"HarnessHookTarget": {
"type": "object",
"properties": {
"lambda": {
"$ref": "#/$defs/HarnessHookLambdaTarget"
},
"sns": {
"$ref": "#/$defs/HarnessHookSnsTarget"
},
"eventBridge": {
"$ref": "#/$defs/HarnessHookEventBridgeTarget"
}
},
"description": "Exactly one member is set."
},
"HarnessInlineFunctionConfig": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Description of what the tool does, provided to the model."
},
"inputSchema": {
"type": "object",
"description": "JSON Schema describing the tool's input parameters."
}
},
"required": [
"description",
"inputSchema"
]
},
"HarnessLiteLlmModelConfig": {
"type": "object",
"properties": {
"modelId": {
"type": "string",
"description": "The LiteLLM model identifier (e.g., \"anthropic/claude-3-sonnet\")."
},
"apiKeyArn": {
"type": "string",
"description": "The ARN of the API key in AgentCore Identity for authenticating with the model provider."
},
"apiBase": {
"type": "string",
"description": "The base URL for the model provider's API endpoint."
},
"maxTokens": {
"type": "integer",
"description": "The maximum number of tokens to allow in the generated response per iteration."
},
"temperature": {
"type": "number",
"description": "The temperature to set when calling the model."
},
"topP": {
"type": "number",
"description": "The topP set when calling the model."
},
"additionalParams": {
"type": "object",
"description": "Provider-specific parameters passed through to the model provider unchanged."
}
},
"required": [
"modelId"
]
},
"HarnessManagedMemoryConfiguration": {
"type": "object",
"properties": {
"arn": {
"type": "string",
"description": "The ARN of the managed AgentCore Memory resource. Read-only on Get, ignored on Create/Update input."
},
"strategies": {
"type": "array",
"items": {
"type": "string",
"enum": [
"SEMANTIC",
"SUMMARIZATION",
"USER_PREFERENCE",
"EPISODIC"
]
},
"description": "Strategy types to enable. Defaults to [SEMANTIC, SUMMARIZATION]."
},
"eventExpiryDuration": {
"type": "integer",
"description": "Event retention in days. Defaults to 30."
},
"encryptionKeyArn": {
"type": "string",
"description": "Customer-managed KMS key. Defaults to Amazon Web Services-owned key. Not updatable after creation."
}
}
},
"HarnessMemoryConfiguration": {
"type": "object",
"properties": {
"agentCoreMemoryConfiguration": {
"$ref": "#/$defs/HarnessAgentCoreMemoryConfiguration"
},
"managedMemoryConfiguration": {
"$ref": "#/$defs/HarnessManagedMemoryConfiguration"
},
"disabled": {
"$ref": "#/$defs/HarnessDisabledMemoryConfiguration"
}
},
"description": "Exactly one member is set."
},
"HarnessModelConfiguration": {
"type": "object",
"properties": {
"bedrockModelConfig": {
"$ref": "#/$defs/HarnessBedrockModelConfig"
},
"openAiModelConfig": {
"$ref": "#/$defs/HarnessOpenAiModelConfig"
},
"geminiModelConfig": {
"$ref": "#/$defs/HarnessGeminiModelConfig"
},
"liteLlmModelConfig": {
"$ref": "#/$defs/HarnessLiteLlmModelConfig"
}
},
"description": "Exactly one member is set."
},
"HarnessOpenAiModelConfig": {
"type": "object",
"properties": {
"modelId": {
"type": "string",
"description": "The OpenAI model ID."
},
"apiKeyArn": {
"type": "string",
"description": "The ARN of your OpenAI API key on AgentCore Identity."
},
"apiBase": {
"type": "string",
"description": "Optional custom endpoint URL for an OpenAI-compatible endpoint."
},
"maxTokens": {
"type": "integer",
"description": "The maximum number of tokens to allow in the generated response per iteration."
},
"temperature": {
"type": "number",
"description": "The temperature to set when calling the model."
},
"topP": {
"type": "number",
"description": "The topP set when calling the model."
},
"apiFormat": {
"type": "string",
"enum": [
"chat_completions",
"responses"
],
"description": "The API format to use when calling the OpenAI provider."
},
"additionalParams": {
"type": "object",
"description": "Provider-specific parameters passed through to the model provider unchanged."
}
},
"required": [
"modelId",
"apiKeyArn"
]
},
"HarnessRemoteMcpConfig": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "URL of the MCP endpoint."
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Custom headers to include when connecting to the remote MCP server."
}
},
"required": [
"url"
]
},
"HarnessSkill": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The filesystem path to the skill definition."
},
"s3": {
"$ref": "#/$defs/HarnessSkillS3Source"
},
"git": {
"$ref": "#/$defs/HarnessSkillGitSource"
},
"awsSkills": {
"$ref": "#/$defs/HarnessSkillAwsSkillsSource"
}
},
"description": "Exactly one member is set."
},
"HarnessSkillAwsSkillsSource": {
"type": "object",
"properties": {
"paths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optionally filter allowed skills with glob syntax, e.g., ['core-skills/*']."
}
}
},
"HarnessSkillGitAuth": {
"type": "object",
"properties": {
"credentialArn": {
"type": "string",
"description": "The ARN of the credential in AgentCore Identity containing the password or personal access token."
},
"username": {
"type": "string",
"description": "Username for authentication. Defaults to 'oauth2' if not specified."
}
},
"required": [
"credentialArn"
]
},
"HarnessSkillGitSource": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The HTTPS URL of the git repository."
},
"path": {
"type": "string",
"description": "Subdirectory within the repository containing the skill."
},
"auth": {
"$ref": "#/$defs/HarnessSkillGitAuth"
}
},
"required": [
"url"
]
},
"HarnessSkillS3Source": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"description": "The S3 URI pointing to the skill directory (e.g., s3://bucket/skills/my-skill/)."
}
},
"required": [
"uri"
]
},
"HarnessSlidingWindowConfiguration": {
"type": "object",
"properties": {
"messagesCount": {
"type": "integer",
"description": "The number of recent messages to retain in the context window."
}
}
},
"HarnessSummarizationConfiguration": {
"type": "object",
"properties": {
"summaryRatio": {
"type": "number",
"description": "The ratio of content to summarize."
},
"preserveRecentMessages": {
"type": "integer",
"description": "The number of recent messages to preserve without summarization."
},
"summarizationSystemPrompt": {
"type": "string",
"description": "The system prompt used for generating summaries."
}
}
},
"HarnessSystemContentBlock": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text content of the system prompt block."
}
},
"description": "Exactly one member is set."
},
"HarnessTool": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"remote_mcp",
"agentcore_browser",
"agentcore_gateway",
"inline_function",
"agentcore_code_interpreter"
],
"description": "The type of tool."
},
"name": {
"type": "string",
"description": "Unique name for the tool. If not provided, a name will be inferred or generated."
},
"config": {
"$ref": "#/$defs/HarnessToolConfiguration"
}
},
"required": [
"type"
]
},
"HarnessToolConfiguration": {
"type": "object",
"properties": {
"remoteMcp": {
"$ref": "#/$defs/HarnessRemoteMcpConfig"
},
"agentCoreBrowser": {
"$ref": "#/$defs/HarnessAgentCoreBrowserConfig"
},
"agentCoreGateway": {
"$ref": "#/$defs/HarnessAgentCoreGatewayConfig"
},
"inlineFunction": {
"$ref": "#/$defs/HarnessInlineFunctionConfig"
},
"agentCoreCodeInterpreter": {
"$ref": "#/$defs/HarnessAgentCoreCodeInterpreterConfig"
}
},
"description": "Exactly one member is set."
},
"HarnessTruncationConfiguration": {
"type": "object",
"properties": {
"strategy": {
"type": "string",
"enum": [
"sliding_window",
"summarization",
"none"
],
"description": "The truncation strategy to use."
},
"config": {
"$ref": "#/$defs/HarnessTruncationStrategyConfiguration"
}
},
"required": [
# --- truncated at 32 KB (39 KB total) ---
# Full source: https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-update-harness-request-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-bedrock-update-harness-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.