update_function
Change a function: only the fields passed change. New files replace the running replicas; public=false turns key-less invoke off.
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": {
"name": "<name>"
},
"name": "update_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | environment variables by name; {} clears them | |
| name | Yes | function name | |
| port | No | port the command listens on | |
| vcpu | No | vCPUs | |
| files | No | source files to include | |
| start | No | command that serves the function | |
| public | No | invokable without a key | |
| template | No | template id | |
| memory_mb | No | memory in MB | |
| idle_timeout | No | seconds without an invoke before the last replica stops; 0 keeps one warm | |
| max_replicas | No | burst ceiling | |
| replica_concurrency | No | requests one replica serves at once, 1 to 100 |