generate_sam_template
Generate SAM template with Lambda functions, API Gateway, and DynamoDB
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": {
"appName": "<appName>",
"functions": "<functions>"
},
"name": "generate_sam_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | No | Lambda layer definitions | |
| appName | Yes | SAM application name | |
| globals | No | SAM globals section | |
| httpApi | No | Use HTTP API instead of REST API | |
| outputs | No | Stack outputs | |
| functions | Yes | Lambda function definitions (name, handler, runtime, events) | |
| apiDefinition | No | API Gateway definition |