sls_add_functions
Add function definitions with event triggers to a Serverless Framework config, specifying service name, handler, and event type.
Instructions
Add function definitions with event triggers to a Serverless Framework config
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": {
"service_name": "<service_name>",
"functions": "<functions>"
},
"name": "sls_add_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| functions | Yes | Function definitions to add | |
| service_name | Yes | Service name |