KosmoKrator

marketing

Later CLI for Headless Automation

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

7 functions 6 read 1 write Manual OAuth token auth

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

Command Shape

# Later CLI for Headless Automation
kosmokrator integrations:configure later --set access_token="$LATER_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call later.later_list_profiles '{"limit":1,"page":1}' --json

Discovery Before Execution

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

kosmo integrations:docs later --json
kosmo integrations:docs later.later_list_profiles --json
kosmo integrations:schema later.later_list_profiles --json
kosmo integrations:search "Later" --json
kosmo integrations:list --json

Useful Later CLI Functions

FunctionTypeParametersDescription
later.later_list_profiles Read limit, page List all social media profiles connected to the Later account. Returns profile IDs, platform types, and display names.
later.later_get_profile Read profileId Get details of a specific social media profile in Later by its ID. Returns profile platform type, display name, and account metadata.
later.later_list_posts Read profileId, status, limit, page List scheduled and published posts in Later. Optionally filter by profile ID, status (scheduled, published, draft), and paginate results.
later.later_create_post Write text, profileIds, scheduledAt, mediaUrl, mediaType, title Create and schedule a new social media post in Later. Provide the caption text, target profile IDs, and optionally a scheduled time or media URL.
later.later_list_media Read limit, page, type List media items in the Later media library. Returns media IDs, URLs, types, and metadata. Optionally filter by media type.
later.later_get_media Read mediaId Get details of a specific media item in Later by its ID. Returns the media URL, type, dimensions, and metadata.
later.later_get_current_user Read none Get the currently authenticated Later user profile. Returns the user name, email, and account info.

Automation Notes

Related Later CLI Pages