Update endpoint
update_endpointChange any setting of an existing endpoint, including its method, route or folder. Pass only the fields to change in changes; the rest keep their current values. Identify the endpoint by endpoint_id, or by method and route. A resource's generated CRUD routes can't be edited.
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": {
"workspace": "<workspace>",
"changes": "<changes>"
},
"name": "update_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No | Route starting with /, used with method when endpoint_id is omitted. | |
| method | No | HTTP method, used with route when endpoint_id is omitted. | |
| changes | Yes | Only the fields to change. Everything else keeps its current value. | |
| workspace | Yes | Target workspace slug (from list_workspaces). | |
| endpoint_id | No | Endpoint id (from list_endpoints). Omit to identify it by method and route. |