KosmoKrator

communication

Missive CLI for Shell Scripts

Use the Missive CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.

6 functions 4 read 2 write Bearer token auth

Missive CLI for Shell Scripts

Call integration functions from shell scripts with stable JSON input and output.

Use shell scripts for small local automations that need one or more integration calls. 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 Shell Scripts
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

FunctionTypeParametersDescription
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

Related Missive CLI Pages