update-function
Modify an existing edge function's code or metadata in the Insforge MCP Server to adjust its behavior or configuration.
Instructions
Update an existing edge function code or metadata
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": {
"slug": "<slug>"
},
"name": "update-function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The slug identifier of the function to update | |
| name | No | ||
| description | No | ||
| status | No | ||
| codeFile | No | Path to JavaScript file containing the new function code. Must export: module.exports = async function(request) { return new Response(...) } |