Amazon Bedrock · Schema

InvokeInlineAgentRequest

Artificial IntelligenceAmazon Web ServicesFoundation ModelsGenerative AILLMMachine LearningRAGAgentsResponsible AIModel Serving

Properties

Name Type Description
customerEncryptionKeyArn string The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to encrypt your inline agent.
foundationModel string The model identifier (ID) of the model to use for orchestration by the inline agent. For example, meta.llama3-1-70b-instruct-v1:0.
instruction string The instructions that tell the inline agent what it should do and how it should interact with users.
idleSessionTTLInSeconds integer The number of seconds for which the inline agent should maintain session information. After this time expires, the subsequent InvokeInlineAgent request begins a new session. A user interaction remains
actionGroups array A list of action groups with each action group defining the action the inline agent needs to carry out.
knowledgeBases array Contains information of the knowledge bases to associate with.
guardrailConfiguration object
promptOverrideConfiguration object
agentCollaboration string Defines how the inline collaborator agent handles information across multiple collaborator agents to coordinate a final response. The inline collaborator agent can also be the supervisor.
collaboratorConfigurations array Settings for an inline agent collaborator called with InvokeInlineAgent.
agentName string The name for the agent.
sessionId string The unique identifier of the session. Use the same value across requests to continue the same conversation.
endSession boolean Specifies whether to end the session with the inline agent or not.
enableTrace boolean Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see Using trace.
inputText string The prompt text to send to the agent. If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored.
streamingConfigurations object
promptCreationConfigurations object
inlineSessionState object
collaborators array List of collaborator inline agents.
bedrockModelConfigurations object
orchestrationType string Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default.
customOrchestration object
View JSON Schema on GitHub

JSON Schema

amazon-bedrock-invoke-inline-agent-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-invoke-inline-agent-request-schema.json",
  "title": "InvokeInlineAgentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-agents-api-openapi.yml#/components/schemas/InvokeInlineAgentRequest",
  "type": "object",
  "properties": {
    "customerEncryptionKeyArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to encrypt your inline agent."
    },
    "foundationModel": {
      "type": "string",
      "description": "The model identifier (ID) of the model to use for orchestration by the inline agent. For example, meta.llama3-1-70b-instruct-v1:0."
    },
    "instruction": {
      "type": "string",
      "description": "The instructions that tell the inline agent what it should do and how it should interact with users."
    },
    "idleSessionTTLInSeconds": {
      "type": "integer",
      "description": "The number of seconds for which the inline agent should maintain session information. After this time expires, the subsequent InvokeInlineAgent request begins a new session. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and the data provided before the timeout is deleted."
    },
    "actionGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BedrockAgentRuntimeAgentActionGroup"
      },
      "description": "A list of action groups with each action group defining the action the inline agent needs to carry out."
    },
    "knowledgeBases": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BedrockAgentRuntimeKnowledgeBase"
      },
      "description": "Contains information of the knowledge bases to associate with."
    },
    "guardrailConfiguration": {
      "$ref": "#/$defs/GuardrailConfigurationWithArn"
    },
    "promptOverrideConfiguration": {
      "$ref": "#/$defs/PromptOverrideConfiguration"
    },
    "agentCollaboration": {
      "type": "string",
      "enum": [
        "SUPERVISOR",
        "SUPERVISOR_ROUTER",
        "DISABLED"
      ],
      "description": "Defines how the inline collaborator agent handles information across multiple collaborator agents to coordinate a final response. The inline collaborator agent can also be the supervisor."
    },
    "collaboratorConfigurations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CollaboratorConfiguration"
      },
      "description": "Settings for an inline agent collaborator called with InvokeInlineAgent."
    },
    "agentName": {
      "type": "string",
      "description": "The name for the agent."
    },
    "sessionId": {
      "type": "string",
      "description": "The unique identifier of the session. Use the same value across requests to continue the same conversation."
    },
    "endSession": {
      "type": "boolean",
      "description": "Specifies whether to end the session with the inline agent or not."
    },
    "enableTrace": {
      "type": "boolean",
      "description": "Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see Using trace."
    },
    "inputText": {
      "type": "string",
      "description": "The prompt text to send to the agent. If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored."
    },
    "streamingConfigurations": {
      "$ref": "#/$defs/StreamingConfigurations"
    },
    "promptCreationConfigurations": {
      "$ref": "#/$defs/PromptCreationConfigurations"
    },
    "inlineSessionState": {
      "$ref": "#/$defs/InlineSessionState"
    },
    "collaborators": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Collaborator"
      },
      "description": "List of collaborator inline agents."
    },
    "bedrockModelConfigurations": {
      "$ref": "#/$defs/InlineBedrockModelConfigurations"
    },
    "orchestrationType": {
      "type": "string",
      "enum": [
        "DEFAULT",
        "CUSTOM_ORCHESTRATION"
      ],
      "description": "Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default."
    },
    "customOrchestration": {
      "$ref": "#/$defs/CustomOrchestration"
    }
  },
  "required": [
    "foundationModel",
    "instruction",
    "sessionId"
  ],
  "$defs": {
    "ApiResult": {
      "type": "object",
      "properties": {
        "actionGroup": {
          "type": "string",
          "description": "The action group that the API operation belongs to."
        },
        "httpMethod": {
          "type": "string",
          "description": "The HTTP method for the API operation."
        },
        "apiPath": {
          "type": "string",
          "description": "The path to the API operation."
        },
        "confirmationState": {
          "type": "string",
          "enum": [
            "CONFIRM",
            "DENY"
          ],
          "description": "Controls the API operations or functions to invoke based on the user confirmation."
        },
        "responseState": {
          "type": "string",
          "enum": [
            "FAILURE",
            "REPROMPT"
          ],
          "description": "Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt"
        },
        "httpStatusCode": {
          "type": "integer",
          "description": "http status code from API execution response (for example: 200, 400, 500)."
        },
        "responseBody": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/ContentBody"
          },
          "description": "The response body from the API operation. The key of the object is the content type (currently, only TEXT is supported). The response may be returned directly or from the Lambda function."
        },
        "agentId": {
          "type": "string",
          "description": "The agent's ID."
        }
      },
      "required": [
        "actionGroup"
      ]
    },
    "BedrockAgentInferenceConfiguration": {
      "type": "object",
      "properties": {
        "temperature": {
          "type": "number",
          "description": "The likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options."
        },
        "topP": {
          "type": "number",
          "description": "While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for Top P determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set topP to 0.8, the model only selects the next token from the top 80% of the probability distribution of next tokens."
        },
        "topK": {
          "type": "integer",
          "description": "While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for topK is the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set topK to 50, the model selects the next token from among the top 50 most likely choices."
        },
        "maximumLength": {
          "type": "integer",
          "description": "The maximum number of tokens to allow in the generated response."
        },
        "stopSequences": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response."
        }
      }
    },
    "BedrockAgentRuntimeAPISchema": {
      "type": "object",
      "properties": {
        "s3": {
          "$ref": "#/$defs/S3Identifier"
        },
        "payload": {
          "type": "string",
          "description": "The JSON or YAML-formatted payload defining the OpenAPI schema for the action group."
        }
      },
      "description": "Exactly one member is set."
    },
    "BedrockAgentRuntimeActionGroupExecutor": {
      "type": "object",
      "properties": {
        "lambda": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action."
        },
        "customControl": {
          "type": "string",
          "enum": [
            "RETURN_CONTROL"
          ],
          "description": "To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL."
        }
      },
      "description": "Exactly one member is set."
    },
    "BedrockAgentRuntimeAgentActionGroup": {
      "type": "object",
      "properties": {
        "actionGroupName": {
          "type": "string",
          "description": "The name of the action group."
        },
        "description": {
          "type": "string",
          "description": "A description of the action group."
        },
        "parentActionGroupSignature": {
          "type": "string",
          "enum": [
            "AMAZON.UserInput",
            "AMAZON.CodeInterpreter",
            "ANTHROPIC.Computer",
            "ANTHROPIC.Bash",
            "ANTHROPIC.TextEditor"
          ],
          "description": "Specify a built-in or computer use action for this action group. If you specify a value, you must leave the description, apiSchema, and actionGroupExecutor fields empty for this action group. To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput. To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to AMAZON.CodeInterpreter. To allow your agent to use an Anthropic computer use tool, specify one of the following values. Computer use is a new Anthropic Claude mode"
        },
        "actionGroupExecutor": {
          "$ref": "#/$defs/BedrockAgentRuntimeActionGroupExecutor"
        },
        "apiSchema": {
          "$ref": "#/$defs/BedrockAgentRuntimeAPISchema"
        },
        "functionSchema": {
          "$ref": "#/$defs/BedrockAgentRuntimeFunctionSchema"
        },
        "parentActionGroupSignatureParams": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The configuration settings for a computer use action. Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools."
        }
      },
      "required": [
        "actionGroupName"
      ]
    },
    "BedrockAgentRuntimeContentBlock": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "The block's text."
        }
      },
      "description": "Exactly one member is set."
    },
    "BedrockAgentRuntimeFieldForReranking": {
      "type": "object",
      "properties": {
        "fieldName": {
          "type": "string",
          "description": "The name of a metadata field to include in or exclude from consideration when reranking."
        }
      },
      "required": [
        "fieldName"
      ]
    },
    "BedrockAgentRuntimeFunctionSchema": {
      "type": "object",
      "properties": {
        "functions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FunctionDefinition"
          },
          "description": "A list of functions that each define an action in the action group."
        }
      },
      "description": "Exactly one member is set."
    },
    "BedrockAgentRuntimeImplicitFilterConfiguration": {
      "type": "object",
      "properties": {
        "metadataAttributes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BedrockAgentRuntimeMetadataAttributeSchema"
          },
          "description": "Metadata that can be used in a filter."
        },
        "modelArn": {
          "type": "string",
          "description": "The model that generates the filter."
        }
      },
      "required": [
        "metadataAttributes",
        "modelArn"
      ]
    },
    "BedrockAgentRuntimeKnowledgeBase": {
      "type": "object",
      "properties": {
        "knowledgeBaseId": {
          "type": "string",
          "description": "The unique identifier for a knowledge base associated with the inline agent."
        },
        "description": {
          "type": "string",
          "description": "The description of the knowledge base associated with the inline agent."
        },
        "retrievalConfiguration": {
          "$ref": "#/$defs/BedrockAgentRuntimeKnowledgeBaseRetrievalConfiguration"
        }
      },
      "required": [
        "knowledgeBaseId",
        "description"
      ]
    },
    "BedrockAgentRuntimeKnowledgeBaseRetrievalConfiguration": {
      "type": "object",
      "properties": {
        "vectorSearchConfiguration": {
          "$ref": "#/$defs/BedrockAgentRuntimeKnowledgeBaseVectorSearchConfiguration"
        },
        "managedSearchConfiguration": {
          "$ref": "#/$defs/ManagedSearchConfiguration"
        }
      }
    },
    "BedrockAgentRuntimeKnowledgeBaseVectorSearchConfiguration": {
      "type": "object",
      "properties": {
        "numberOfResults": {
          "type": "integer",
          "description": "The number of source chunks to retrieve."
        },
        "overrideSearchType": {
          "type": "string",
          "enum": [
            "HYBRID",
            "SEMANTIC"
          ],
          "description": "By default, Amazon Bedrock decides a search strategy for you. If you're using an Amazon OpenSearch Serverless vector store that contains a filterable text field, you can specify whether to query the knowledge base with a HYBRID search using both vector embeddings and raw text, or SEMANTIC search using only vector embeddings. For other vector store configurations, only SEMANTIC search is available. For more information, see Test a knowledge base."
        },
        "filter": {
          "$ref": "#/$defs/RetrievalFilter"
        },
        "rerankingConfiguration": {
          "$ref": "#/$defs/BedrockAgentRuntimeVectorSearchRerankingConfiguration"
        },
        "implicitFilterConfiguration": {
          "$ref": "#/$defs/BedrockAgentRuntimeImplicitFilterConfiguration"
        }
      }
    },
    "BedrockAgentRuntimeMessage": {
      "type": "object",
      "properties": {
        "role": {
          "type": "string",
          "enum": [
            "user",
            "assistant"
          ],
          "description": "The message's role."
        },
        "content": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BedrockAgentRuntimeContentBlock"
          },
          "description": "The message's content."
        }
      },
      "required": [
        "role",
        "content"
      ]
    },
    "BedrockAgentRuntimeMetadataAttributeSchema": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The attribute's key."
        },
        "type": {
          "type": "string",
          "enum": [
            "STRING",
            "NUMBER",
            "BOOLEAN",
            "STRING_LIST"
          ],
          "description": "The attribute's type."
        },
        "description": {
          "type": "string",
          "description": "The attribute's description."
        }
      },
      "required": [
        "key",
        "type",
        "description"
      ]
    },
    "BedrockAgentRuntimeMetadataConfigurationForReranking": {
      "type": "object",
      "properties": {
        "selectionMode": {
          "type": "string",
          "enum": [
            "SELECTIVE",
            "ALL"
          ],
          "description": "Specifies whether to consider all metadata when reranking, or only the metadata that you select. If you specify SELECTIVE, include the selectiveModeConfiguration field."
        },
        "selectiveModeConfiguration": {
          "$ref": "#/$defs/BedrockAgentRuntimeRerankingMetadataSelectiveModeConfiguration"
        }
      },
      "required": [
        "selectionMode"
      ]
    },
    "BedrockAgentRuntimePerformanceConfiguration": {
      "type": "object",
      "properties": {
        "latency": {
          "type": "string",
          "enum": [
            "standard",
            "optimized"
          ],
          "description": "To use a latency-optimized version of the model, set to optimized."
        }
      }
    },
    "BedrockAgentRuntimeRerankingMetadataSelectiveModeConfiguration": {
      "type": "object",
      "properties": {
        "fieldsToInclude": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BedrockAgentRuntimeFieldForReranking"
          },
          "description": "An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored."
        },
        "fieldsToExclude": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BedrockAgentRuntimeFieldForReranking"
          },
          "description": "An array of objects, each of which specifies a metadata field to exclude from consideration when reranking."
        }
      },
      "description": "Exactly one member is set."
    },
    "BedrockAgentRuntimeVectorSearchBedrockRerankingConfiguration": {
      "type": "object",
      "properties": {
        "modelConfiguration": {
          "$ref": "#/$defs/BedrockAgentRuntimeVectorSearchBedrockRerankingModelConfiguration"
        },
        "numberOfRerankedResults": {
          "type": "integer",
          "description": "The number of results to return after reranking."
        },
        "metadataConfiguration": {
          "$ref": "#/$defs/BedrockAgentRuntimeMetadataConfigurationForReranking"
        }
      },
      "required": [
        "modelConfiguration"
      ]
    },
    "BedrockAgentRuntimeVectorSearchBedrockRerankingModelConfiguration": {
      "type": "object",
      "properties": {
        "modelArn": {
          "type": "string",
          "description": "The ARN of the reranker model to use."
        },
        "additionalModelRequestFields": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          },
          "description": "A JSON object whose keys are request fields for the model and whose values are values for those fields."
        }
      },
      "required": [
        "modelArn"
      ]
    },
    "BedrockAgentRuntimeVectorSearchRerankingConfiguration": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "BEDROCK_RERANKING_MODEL"
          ],
          "description": "The type of reranker model."
        },
        "bedrockRerankingConfiguration": {
          "$ref": "#/$defs/BedrockAgentRuntimeVectorSearchBedrockRerankingConfiguration"
        }
      },
      "required": [
        "type"
      ]
    },
    "ByteContentFile": {
      "type": "object",
      "properties": {
        "mediaType": {
          "type": "string",
          "description": "The MIME type of data contained in the file used for chat."
        },
        "data": {
          "type": "string",
          "format": "byte",
          "description": "The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files."
        }
      },
      "required": [
        "mediaType",
        "data"
      ]
    },
    "Collaborator": {
      "type": "object",
      "properties": {
        "customerEncryptionKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the inline collaborator."
        },
        "foundationModel": {
          "type": "string",
          "description": "The foundation model used by the inline collaborator agent."
        },
        "instruction": {
          "type": "string",
          "description": "Instruction that tell the inline collaborator agent what it should do and how it should interact with users."
        },
        "idleSessionTTLInSeconds": {
          "type": "integer",
          "description": "The number of seconds for which the Amazon Bedrock keeps information about the user's conversation with the inline collaborator agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout."
        },
        "actionGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BedrockAgentRuntimeAgentActionGroup"
          },
          "description": "List of action groups with each action group defining tasks the inline collaborator agent needs to carry out."
        },
        "knowledgeBases": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BedrockAgentRuntimeKnowledgeBase"
          },
          "description": "Knowledge base associated with the inline collaborator agent."
        },
        "guardrailConfiguration": {
          "$ref": "#/$defs/GuardrailConfigurationWithArn"
        },
        "promptOverrideConfiguration": {
          "$ref": "#/$defs/PromptOverrideConfiguration"
        },
        "agentCollaboration": {
          "type": "string",
          "enum": [
            "SUPERVISOR",
            "SUPERVISOR_ROUTER",
            "DISABLED"
          ],
          "description": "Defines how the inline supervisor agent handles information across multiple collaborator agents to coordinate a final response."
        },
        "collaboratorConfigurations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CollaboratorConfiguration"
          },
          "description": "Settings of the collaborator agent."
        },
        "agentName": {
          "type": "string",
          "description": "Name of the inline collaborator agent which must be the same name as specified for collaboratorName."
        }
      },
      "required": [
        "foundationModel",
        "instruction"
      ]
    },
    "CollaboratorConfiguration": {
      "type": "object",
      "properties": {
        "collaboratorName": {
          "type": "string",
          "description": "Name of the inline collaborator agent which must be the same name as specified for agentName."
        },
        "collaboratorInstruction": {
          "type": "string",
          "description": "Instructions that tell the inline collaborator agent what it should do and how it should interact with users."
        },
        "agentAliasArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the inline collaborator agent."
        },
        "relayConversationHistory": {
          "type": "string",
          "enum": [
            "TO_COLLABORATOR",
            "DISABLED"
          ],
          "description": "A relay conversation history for the inline collaborator agent."
        }
      },
      "required": [
        "collaboratorName",
        "collaboratorInstruction"
      ]
    },
    "ContentBody": {
      "type": "object",
      "properties": {
        "body": {
          "type": "string",
          "description": "The body of the API response."
        },
        "images": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ImageInput"
          },
          "description": "Lists details, including format and source, for the image in the response from the function call. You can specify only one image and the function in the returnControlInvocationResults must be a computer use action. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools."
        }
      }
    },
    "ConversationHistory": {
      "type": "object",
      "properties": {
        "messages": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BedrockAgentRuntimeMessage"
          },
          "description": "The conversation's messages."
        }
      }
    },
    "CustomOrchestration": {
      "type": "object",
      "properties": {
        "executor": {
          "$ref": "#/$defs/OrchestrationExecutor"
        }
      }
    },
    "FileSource": {
      "type": "object",
      "properties": {
        "sourceType": {
          "type": "string",
          "enum": [
            "S3",
            "BYTE_CONTENT"
          ],
          "description": "The source type of the files to attach."
        },
        "s3Location": {
          "$ref": "#/$defs/S3ObjectFile"
        },
        "byteContent": {
          "$ref": "#/$defs/ByteContentFile"
        }
      },
      "required": [
        "sourceType"
      ]
    },
    "FilterAttribute": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The name of metadata attribute/field, which must match the name in your data source/document metadata."
        },
        "value": {
          "type": "object",
          "description": "The value of the metadata attribute/field."
        }
      },
      "required": [
        "key",
        "value"
      ]
    },
    "FunctionDefinition": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "A name for the function."
        },
        "description": {
          "type": "string",
          "description": "A description of the function and its purpose."
        },
        "parameters": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/ParameterDetail"
          },
          "description": "The parameters that the agent elicits from the user to fulfill the function."
        },
        "requireConfirmation": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Contains information if user confirmation is required to invoke the function."
        }
      },
      "required": [
        "name"
      ]
    },
    "FunctionResult": {
      "type": "object",
      "properties": {
        "actionGroup": {
          "type": "string",
          "description": "The action group that the function belongs to."
        },
        "confirmationState": {
          "type": "string",
          "enum": [
            "CONFIRM",
            "DENY"
          ],
          "description": "Contains the user confirmation information about the function that was called."
        },
        "function": {
          "type": "string",
          "description": "The name of the function that was called."
        },
        "responseBody": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/ContentBody"
          },
          "description": "The response from the function call using the parameters. The response might be returned directly or from the Lambda function. Specify TEXT or IMAGES. The key of the object is the content type. You can only specify one type. If you specify IMAGES, you can specify only one image. You can specify images only when the function in the returnControlInvocationResults is a computer use action. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools."
        },
        "responseState": {
          "type": "string",
          "enum": [
            "FAILURE",
            "REPROMPT"
          ],
          "description": "Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt"
        },
        "agentId": {
          "type": "string",
          "description": "The agent's ID."
        }
      },
      "required": [
        "actionGroup"
      ]
    },
    "GuardrailConfigurationWithArn": {
      "type": "object",
      "properties": {
        "guardrailIdentifier": {
          "type": "string",
          "description": "The unique identifier for the guardrail."
        },
        "guardrailVersion": {
          "type": "string",
          "description": "The version of the guardrail."
        }
      },
      "required": [
        "guardrailIdentifier",
        "guardrailVersion"
      ]
    },
    "ImageInput": {
      "type": "object",
      "properties": {
        "format": {
          "type": "string",
          "enum": [
            "png",
            "jpeg",
            "gif",
            "webp"
          ],
          "description": "The type of image in the result."
        },
        "source": {
          "$ref": "#/$defs/ImageInputSource"
        }
      },
      "required": [
        "format",
        "source"
      ]
    },
    "ImageInputSource": {
      "type": "object",
      "properties": {
        "bytes": {
          "type": "string",
          "description": "The raw image bytes for the image. If you use an Amazon Web Services SDK, you don't need to encode the image bytes in base64."
        }
      },
      "description": "Exactly one member is set."
    },
    "InlineBedrockModelConfigurations": {
      "type": "object",
      "properties": {
        "performanceConfig": {
          "$ref": "#/$defs/BedrockAgentRuntimePerformanceConfiguration"
        }
      }
    },
    "InlineSessionState": {
      "type": "object",
      "properties": {
        "sessionAttributes": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Contains attributes that persist across a session and the values of those attributes."
        },
        "promptSessionAttributes": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Contains attributes that persist across a session and the values of those attributes."
        },
        "returnControlInvocationResults": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InvocationResultMember"
          },
          "description": "Contains information about the results from the action group invocation. For more information, see Return control to the agent developer. If you include this field in the sessionState field, the inputText field will be ignored."
        },
        "invocationId": {
          "type": "string",
          "description": "The identifier of the invocation of an action. This value must match the invocationId returned in the InvokeInlineAgent response for the action whose results are provided in the returnControlInvocationResults field. For more information, see Return control to the agent developer."
        },
        "files": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InputFile"
          },
          "description": "Contains information about the files used by code interpreter."
        },
        "conversationHistory": {
          "$ref": "#/$defs/ConversationHistory"
        }
      }
    },
    "InputFile": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the source file."
        },
        "source": {
          "$ref": "#/$defs/FileSource"
        },
        "useCase": {
          "type": "string",
          "enum": [
            "CODE_INTERPRETER",
            "CHAT"
          ],
          "description": "Specifies how the source files will be used by the code interpreter."
        }
      },
      "required": [
        "name",
        "source",
        "useCase"
      ]


# --- truncated at 32 KB (43 KB total) ---
# Full source: https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-invoke-inline-agent-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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-bedrock-invoke-inline-agent-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.