KosmoKrator

other

Cloudinary CLI for CI

Use the Cloudinary CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.

6 functions 4 read 2 write Manual OAuth token auth

Cloudinary CLI for CI

Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.

Use this shape when a pipeline needs to read or update an external service. The Cloudinary CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Cloudinary CLI for CI
kosmokrator integrations:configure cloudinary --set access_token="$CLOUDINARY_ACCESS_TOKEN" --set cloud_name="$CLOUDINARY_CLOUD_NAME" --enable --read allow --write ask --json
kosmo integrations:call cloudinary.cloudinary_upload '{"file":"example_file","public_id":"example_public_id","folder":"example_folder"}' --json

Discovery Before Execution

Agents and scripts can inspect Cloudinary docs and schemas before choosing a function.

kosmo integrations:docs cloudinary --json
kosmo integrations:docs cloudinary.cloudinary_upload --json
kosmo integrations:schema cloudinary.cloudinary_upload --json
kosmo integrations:search "Cloudinary" --json
kosmo integrations:list --json

Useful Cloudinary CLI Functions

FunctionTypeParametersDescription
cloudinary.cloudinary_upload Write file, public_id, folder Upload an image to Cloudinary. Provide a file URL or base64 data URI, an optional public ID, and an optional folder path. Returns the uploaded asset details.
cloudinary.cloudinary_list_resources Read type, max_results, next_cursor, prefix List media resources in your Cloudinary cloud. Filter by resource type (image, video, raw) and prefix. Supports pagination with max_results and next_cursor.
cloudinary.cloudinary_get_resource Read type, public_id Get details of a specific Cloudinary resource by its type and public ID. Returns full asset metadata including dimensions, format, URL, tags, and derived resources.
cloudinary.cloudinary_delete_resource Write type, public_id Delete a media resource from Cloudinary by its type and public ID. This permanently removes the asset and all its derived resources.
cloudinary.cloudinary_list_folders Read max_results, next_cursor List all folders in your Cloudinary cloud. Returns folder names and paths with pagination support.
cloudinary.cloudinary_get_current_user Read none Get the currently authenticated Cloudinary user profile. Returns user name, email, and account details. Use this to verify that credentials are working.

Automation Notes

Related Cloudinary CLI Pages