Optional ReadonlyinlineTool definitions declared inline. Each entry describes one MCP tool the Lambda implements.
Use cases: small tool sets defined directly in config
AWS: ToolSchema InlinePayload
Validation: Optional; non-empty array when set; mutually exclusive with s3
Optional Readonlys3Location of a JSON tool-schema document in S3. To keep a tool schema as a file in the source
tree, upload it to a bucket you own (e.g. an MdaaBucket) and reference the object here.
Use cases: large tool sets maintained as a separate artifact
AWS: ToolSchema S3
Validation: Optional; valid S3 configuration; mutually exclusive with inlinePayload
Tool schema for a Lambda gateway target. Exactly one of
inlinePayload(the tool definitions declared inline) ors3(a JSON tool-schema document in S3) must be provided.Use cases: declaring the MCP tools a Lambda target exposes
AWS: AWS::BedrockAgentCore::GatewayTarget ToolSchema (https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-add-target-lambda.html#gateway-lambda-tool-schema)
Validation: exactly one of inlinePayload (non-empty) or s3