Skip to main content
PATCH
Update a custom function’s configuration. Only include fields you want to change.

Path Parameters

string
required
UUID of the custom function to update

Request Body

string
Function name in snake_case. Must be unique per agent.
string
Description of what the function does
string
HTTP method: GET, POST, PUT, PATCH, or DELETE
string
The webhook URL to call
array
Custom headers to include with requests
array
Parameters the AI should collect
array
Variables to extract from response
integer
Request timeout in milliseconds
integer
Number of retry attempts
boolean
Whether the function is active

Response

Returns the updated custom function object.