Agent Functions
Update Agent Function
deprecated
Update a custom function on an agent version.
PATCH
Update an agent function
Updates one custom function. The function must belong to the agent version and organization in the request context.
Path parameters
| Parameter | Description |
|---|---|
agentId | Agent ID. |
versionNumber | Agent version number. |
functionId | Function ID. |
Related endpoints
- Get Agent Function: fetch the function first.
- Custom Functions: learn how functions are used during calls.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
RSA encrypted organization ID (base64 format)
Example:
"BASE64_ENCRYPTED_ORG_ID_HERE"
Path Parameters
Primary ID of the agent function
Body
application/json
The body is of type object.
Response
The agent function has been successfully updated.
Update an agent function