generate_lambda_function
Generate Lambda function configuration with IAM role, layers, and event sources
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"functionName": "<functionName>",
"runtime": "<runtime>"
},
"name": "generate_lambda_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | No | Lambda layer ARNs | |
| handler | No | Function handler (e.g. index.handler) | |
| runtime | Yes | Lambda runtime | |
| timeout | No | Function timeout in seconds (1-900) | |
| vpcConfig | No | VPC configuration with subnetIds and securityGroupIds | |
| memorySize | No | Memory allocation in MB (128-10240) | |
| environment | No | Environment variables key-value pairs | |
| architecture | No | Instruction set architecture | |
| functionName | Yes | Lambda function name |