lambda_add_layers
Attach shared layers to a Lambda function to bundle common dependencies and utilities. Provide the function name and layer ARNs, or create a custom layer.
Instructions
Configure Lambda layers for shared dependencies and utilities (Pro)
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": {
"function_name": "<function_name>",
"layers": "<layers>"
},
"name": "lambda_add_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | Yes | Layer names or ARNs to attach | |
| api_key | No | API key for authentication | |
| create_custom | No | Whether to create a custom layer | |
| function_name | Yes | Lambda function name |