{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update the function route, send a PUT request to `/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}`.","properties":{"path":{"type":"object","properties":{"agent_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"Agent id"},"function_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"Function id"}},"required":["agent_uuid","function_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/apiUpdateAgentFunctionInputPublic"}},"required":["path"],"additionalProperties":false,"definitions":{"apiUpdateAgentFunctionInputPublic":{"description":"Information about updating an agent function","properties":{"agent_uuid":{"description":"Agent id","type":"string","examples":["\"12345678-1234-1234-1234-123456789012\""]},"description":{"description":"Funciton description","type":"string","examples":["\"My Function Description\""]},"faas_name":{"description":"The name of the function in the DigitalOcean functions platform","type":"string","examples":["\"my-function\""]},"faas_namespace":{"description":"The namespace of the function in the DigitalOcean functions platform","type":"string","examples":["\"default\""]},"function_name":{"description":"Function name","type":"string","examples":["\"My Function\""]},"function_uuid":{"description":"Function id","type":"string","examples":["\"12345678-1234-1234-1234-123456789012\""]},"input_schema":{"description":"Describe the input schema for the function so the agent may call it","type":"object"},"output_schema":{"description":"Describe the output schema for the function so the agent handle its response","type":"object"}},"type":"object"}}},"name":"Update Function Route for an Agent","id":"digitalocean.genai_update_agent_function","example":{"path":{"agent_uuid":"\"123e4567-e89b-12d3-a456-426614174000\"","function_uuid":"\"123e4567-e89b-12d3-a456-426614174000\""}},"maxRequests":1,"summary":false}}