productivity
Droplr CLI for Coding Agents
Use the Droplr CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.
6 functions 4 read 2 write Bearer token auth
Droplr CLI for Coding Agents
Let coding agents discover schemas and execute integration functions through CLI commands or MCP.
Use this pattern when another coding agent needs exact commands and schema discovery. The Droplr CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Droplr CLI for Coding Agents
kosmokrator integrations:configure droplr --set access_token="$DROPLR_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call droplr.droplr_list_drops '{"page":1,"limit":1,"type":"example_type","q":"example_q"}' --json Discovery Before Execution
Agents and scripts can inspect Droplr docs and schemas before choosing a function.
kosmo integrations:docs droplr --json
kosmo integrations:docs droplr.droplr_list_drops --json
kosmo integrations:schema droplr.droplr_list_drops --json
kosmo integrations:search "Droplr" --json
kosmo integrations:list --json Useful Droplr CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
droplr.droplr_list_drops | Read | page, limit, type, q | List drops (short links, files, images, notes) from Droplr. Supports filtering by type and search query, with pagination. |
droplr.droplr_get_drop | Read | id | Get details of a specific drop (short link, file, image, or note) by its ID. |
droplr.droplr_create_drop | Write | link, title, variant | Create a new drop (short link) in Droplr. Provide a long URL to shorten, with optional title and variant. |
droplr.droplr_delete_drop | Write | id | Delete a drop (short link, file, image, or note) from Droplr by its ID. This action is permanent. |
droplr.droplr_list_boards | Read | page, limit | List boards (collections of drops) from Droplr. Supports pagination. |
droplr.droplr_get_current_user | Read | none | Get the authenticated Droplr user's profile, including name, email, and plan information. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.