{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-invoke-agent-runtime-request-schema.json",
  "title": "InvokeAgentRuntimeRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-invocations-api-openapi.yml#/components/schemas/InvokeAgentRuntimeRequest",
  "type": "object",
  "properties": {
    "contentType": {
      "type": "string",
      "description": "The MIME type of the input data in the payload. This tells the agent runtime how to interpret the payload data. Common values include application/json for JSON data."
    },
    "accept": {
      "type": "string",
      "description": "The desired MIME type for the response from the agent runtime. This tells the agent runtime what format to use for the response data. Common values include application/json for JSON data."
    },
    "mcpSessionId": {
      "type": "string",
      "description": "The identifier of the MCP session."
    },
    "runtimeSessionId": {
      "type": "string",
      "description": "The identifier of the runtime session."
    },
    "mcpProtocolVersion": {
      "type": "string",
      "description": "The version of the MCP protocol being used."
    },
    "mcpMethod": {
      "type": "string",
      "description": "The MCP method being invoked. For example, tools/call, resources/read, or prompts/get."
    },
    "mcpName": {
      "type": "string",
      "description": "The name of the MCP resource, tool, or prompt being accessed. The value depends on the method: tools/call – The tool name. resources/read – The resource URI. prompts/get – The prompt name."
    },
    "runtimeUserId": {
      "type": "string",
      "description": "The identifier of the runtime user."
    },
    "traceId": {
      "type": "string",
      "description": "The trace identifier for request tracking."
    },
    "traceParent": {
      "type": "string",
      "description": "The parent trace information for distributed tracing."
    },
    "traceState": {
      "type": "string",
      "description": "The trace state information for distributed tracing."
    },
    "baggage": {
      "type": "string",
      "description": "Additional context information for distributed tracing."
    },
    "agentRuntimeArn": {
      "type": "string",
      "description": "The identifier of the agent runtime to invoke. You can specify either the full Amazon Web Services Resource Name (ARN) or the agent ID. If you use the agent ID, you must also provide the accountId query parameter."
    },
    "qualifier": {
      "type": "string",
      "description": "The qualifier to use for the agent runtime. This is an endpoint name that points to a specific version. If not specified, Amazon Bedrock AgentCore uses the default endpoint of the agent runtime."
    },
    "accountId": {
      "type": "string",
      "description": "The identifier of the Amazon Web Services account for the agent runtime resource. This parameter is required when you specify an agent ID instead of the full ARN for agentRuntimeArn."
    },
    "payload": {
      "type": "string",
      "format": "byte",
      "description": "The input data to send to the agent runtime. The format of this data depends on the specific agent configuration and must match the specified content type. For most agents, this is a JSON object containing the user's request."
    }
  },
  "required": [
    "agentRuntimeArn",
    "payload"
  ]
}