Skip to main content
FuseFuse
IntegrationsAwsActions

Invoke Lambda function synchronously

Invoke a Lambda function with RequestResponse semantics and a 15-second abort. Payload is JSON text capped at 256 KiB by this pack. Returns status, executed version, function error, base64 payload, optional decoded JSON text, and optional log tail. Unsafe with one SDK attempt. Excluded from MCP. Requires lambda:InvokeFunction.

Agent markdown

lambda.functions.invoke_sync · AWS · v1

Details

Risk
Write
Idempotency
Unsafe
Availability
Default
Exposure
REST, SDK
MCP hints
readOnly=false, destructive=false, idempotent=false, openWorld=true

Scopes

  • lambda:InvokeFunction

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
function_namestringYesminLength 1; maxLength 170
payloadstringYesminLength 1; maxLength 262144
regionstringNoenum us-east-1 | us-east-2 | us-west-1 | us-west-2 | af-south-1 | ap-east-1 | ap-east-2 | ap-south-1 | ap-south-2 | ap-southeast-1 | ap-southeast-2 | ap-southeast-3 | ap-southeast-4 | ap-southeast-5 | ap-southeast-6 | ap-southeast-7 | ap-northeast-1 | ap-northeast-2 | ap-northeast-3 | ca-central-1 | ca-west-1 | eu-central-1 | eu-central-2 | eu-west-1 | eu-west-2 | eu-west-3 | eu-north-1 | eu-south-1 | eu-south-2 | il-central-1 | me-central-1 | me-south-1 | mx-central-1 | sa-east-1
qualifierstringNominLength 1; maxLength 128
include_log_tailbooleanNo

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
status_codeintegerYesminimum 200; maximum 599
executed_versionstringNominLength 1; maxLength 128
function_errorstringNominLength 1; maxLength 128
payload_base64stringYesminLength 0; maxLength 349528
payload_jsonstringNominLength 1; maxLength 262144
log_tailstringNominLength 1; maxLength 8192

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "function_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 170
    },
    "payload": {
      "type": "string",
      "minLength": 1,
      "maxLength": 262144
    },
    "region": {
      "type": "string",
      "enum": [
        "us-east-1",
        "us-east-2",
        "us-west-1",
        "us-west-2",
        "af-south-1",
        "ap-east-1",
        "ap-east-2",
        "ap-south-1",
        "ap-south-2",
        "ap-southeast-1",
        "ap-southeast-2",
        "ap-southeast-3",
        "ap-southeast-4",
        "ap-southeast-5",
        "ap-southeast-6",
        "ap-southeast-7",
        "ap-northeast-1",
        "ap-northeast-2",
        "ap-northeast-3",
        "ca-central-1",
        "ca-west-1",
        "eu-central-1",
        "eu-central-2",
        "eu-west-1",
        "eu-west-2",
        "eu-west-3",
        "eu-north-1",
        "eu-south-1",
        "eu-south-2",
        "il-central-1",
        "me-central-1",
        "me-south-1",
        "mx-central-1",
        "sa-east-1"
      ]
    },
    "qualifier": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "include_log_tail": {
      "type": "boolean"
    }
  },
  "required": [
    "function_name",
    "payload"
  ]
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "status_code": {
      "type": "integer",
      "minimum": 200,
      "maximum": 599
    },
    "executed_version": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "function_error": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "payload_base64": {
      "type": "string",
      "minLength": 0,
      "maxLength": 349528
    },
    "payload_json": {
      "type": "string",
      "minLength": 1,
      "maxLength": 262144
    },
    "log_tail": {
      "type": "string",
      "minLength": 1,
      "maxLength": 8192
    }
  },
  "required": [
    "status_code",
    "payload_base64"
  ]
}