DigitalOcean-public.v2-new_GradientAI Platform
Update Function Route for an Agent
To update the function route, send a PUT request to /v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}.
put/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}
Path parameters
agent_uuidstring required
Agent id
function_uuidstring required
Function id
Request body
Example request
{
"agent_uuid": "\"12345678-1234-1234-1234-123456789012\"",
"description": "\"My Function Description\"",
"faas_name": "\"my-function\"",
"faas_namespace": "\"default\"",
"function_name": "\"My Function\"",
"function_uuid": "\"12345678-1234-1234-1234-123456789012\""
}Response
A successful response.