Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Functions → update_function_by_id_api_v1_functions_id__id__update_post

AI-generated

Summary

Update a function's details by its ID using the HTTP POST method to the /api/v1/functions/id/{id}/update endpoint.

Inputs

  • id (required) — The unique identifier of the function to update (provided as a path parameter).
  • skipAuthentication — Whether to skip authentication; defaults to false and requires Open WebUI Auth unless skipped.
  • method (required) — The HTTP method to use, defaults to GET but for this operation POST is used.
  • requestBody (required) — The JSON payload containing the function's updated properties: id (string), name (string), content (string), and meta object (with optional description and manifest fields).
  • mediaType (required) — Content type of the request body, fixed as application/json.

Output shape

a single JSON object representing the updated function resource.

The operation requires the 'id' path parameter and a request body containing all required fields (id, name, content, meta), and returns the updated function data in JSON format. Authentication is required unless explicitly skipped.

Links

Discussion