communication
Missive CLI for Headless Automation
Use the Missive CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
6 functions 4 read 2 write Bearer token auth
Missive CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Missive CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Missive CLI for Headless Automation
kosmokrator integrations:configure missive --set access_token="$MISSIVE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call missive.missive_list_conversations '{"inbox":"example_inbox","assignee":"example_assignee","state":"example_state","limit":1,"offset":1}' --json Discovery Before Execution
Agents and scripts can inspect Missive docs and schemas before choosing a function.
kosmo integrations:docs missive --json
kosmo integrations:docs missive.missive_list_conversations --json
kosmo integrations:schema missive.missive_list_conversations --json
kosmo integrations:search "Missive" --json
kosmo integrations:list --json Useful Missive CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
missive.missive_list_conversations | Read | inbox, assignee, state, limit, offset | List conversations from Missive. Supports filtering by inbox, assignee, and state. Returns paginated results. |
missive.missive_get_conversation | Read | id | Get a single Missive conversation by ID, including messages and metadata. |
missive.missive_create_comment | Write | conversation_id, body, assignees | Create a comment on a Missive conversation. Use this to add internal notes or replies. |
missive.missive_list_tasks | Read | state, assignee, limit, offset | List tasks from Missive. Supports filtering by state and assignee. Returns paginated results. |
missive.missive_create_task | Write | title, description, assignee, due_date | Create a new task in Missive. Requires a title. Optionally set description, assignee, and due date. |
missive.missive_get_current_user | Read | none | Get the profile of the currently authenticated Missive user, including name, email, and organization info. |
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.