KosmoKrator

marketing

Later CLI for Coding Agents

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

7 functions 6 read 1 write Manual OAuth token auth

Later 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 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 Coding Agents
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