update_endpoint
Update a custom endpoint's auth mode, execution mode, enabled state, or metadata. entity_id, action and method are immutable — together they ARE the route's identity, so passing any rejects the whole call atomically, nothing applied — same all-or-nothing rule as update_field/update_function. To actually change one of those: create_endpoint with the shape you want, repoint its Functions (update_function's entity_id is also immutable, so this means create_function against the new endpoint's id and delete_function the old attachment), then delete_endpoint the old route.
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": {
"endpoint_id": "<endpoint_id>"
},
"name": "update_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | ||
| label | No | ||
| action | No | IMMUTABLE — passing this rejects the call. | |
| method | No | IMMUTABLE — passing this rejects the call. | |
| enabled | No | Route-level kill switch — false 404s the whole route regardless of its attached Functions' own enabled flags. | |
| entity_id | No | IMMUTABLE — passing this rejects the call. | |
| description | No | ||
| endpoint_id | Yes | Endpoint record ID (e.g. 'EPT3') | |
| execution_mode | No |