{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update custom model metadata, send a PATCH request to `/v2/gen-ai/custom_models/{uuid}/metadata`.","properties":{"path":{"type":"object","properties":{"uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"UUID of the custom model to update"}},"required":["uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/apiUpdateCustomModelMetadataInputPublic"}},"required":["path"],"additionalProperties":false,"definitions":{"apiUpdateCustomModelMetadataInputPublic":{"description":"Request to update custom model metadata (public)","properties":{"description":{"type":"string","examples":["example string"]},"input_modalities":{"description":"Optional new input modalities for the model (replaces existing list when non-empty).\nSpaces-imported models only.","items":{"type":"string","examples":["example string"]},"type":"array","examples":[["example string"]]},"license":{"type":"string","examples":["example string"]},"name":{"type":"string","examples":["example name"]},"output_modalities":{"description":"Optional new output modalities for the model (replaces existing list when non-empty).\nSpaces-imported models only.","items":{"type":"string","examples":["example string"]},"type":"array","examples":[["example string"]]},"parameters":{"type":"string","examples":["12345"]},"tags":{"$ref":"#/definitions/CustomModelTags"},"uuid":{"description":"UUID of the custom model to update","type":"string","examples":["a1b2c3d4-..."]}},"type":"object"},"CustomModelTags":{"description":"User-defined tags for organizing models","properties":{"tags":{"description":"List of tag strings","items":{"type":"string","examples":["example string"]},"type":"array","examples":[["example string"]]}},"type":"object"}}},"name":"Update Custom Model Metadata","id":"digitalocean.genai_update_custom_model_metadata","example":{"path":{"uuid":"\"123e4567-e89b-12d3-a456-426614174000\""}},"maxRequests":1,"summary":false}}