KosmoKrator

communication

Front CLI for Headless Automation

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

7 functions 6 read 1 write Bearer token auth

Front 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 Front CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Front CLI for Headless Automation
kosmokrator integrations:configure front --set access_token="$FRONT_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call front.front_get_contact '{"id":"example_id"}' --json

Discovery Before Execution

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

kosmo integrations:docs front --json
kosmo integrations:docs front.front_get_contact --json
kosmo integrations:schema front.front_get_contact --json
kosmo integrations:search "Front" --json
kosmo integrations:list --json

Useful Front CLI Functions

FunctionTypeParametersDescription
front.front_get_contact Read id Get details of a specific Front contact by ID, including name, emails, phone numbers, and custom fields.
front.front_get_conversation Read id Get details of a specific Front conversation by ID, including subject, participants, status, tags, and metadata.
front.front_get_current_user Read none Get the profile of the currently authenticated Front user. Returns name, email, and account details.
front.front_list_contacts Read page, limit, q List and search contacts in Front. Search by name, email, or other identifiers. Returns paginated contact details.
front.front_list_conversations Read page, limit, status, q List and search conversations in Front. Filter by status or search by keyword. Returns paginated results with conversation IDs, subjects, and metadata.
front.front_list_messages Read conversation_id, limit, page List all messages in a Front conversation. Returns paginated message details including sender, body, and timestamps.
front.front_send_message Write conversation_id, body, text, to, cc Send a reply message to an existing Front conversation. Supports HTML and plain-text bodies, and explicit TO/CC recipients.

Automation Notes

Related Front CLI Pages