communication
Cisco Webex CLI for Headless Automation
Use the Cisco Webex CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
6 functions 5 read 1 write Manual OAuth token auth
Cisco Webex 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 Cisco Webex CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Cisco Webex CLI for Headless Automation
kosmokrator integrations:configure webex --set access_token="$WEBEX_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call webex.webex_list_rooms '{"max":1,"before":"example_before","after":"example_after"}' --json Discovery Before Execution
Agents and scripts can inspect Cisco Webex docs and schemas before choosing a function.
kosmo integrations:docs webex --json
kosmo integrations:docs webex.webex_list_rooms --json
kosmo integrations:schema webex.webex_list_rooms --json
kosmo integrations:search "Cisco Webex" --json
kosmo integrations:list --json Useful Cisco Webex CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
webex.webex_list_rooms | Read | max, before, after | List Webex spaces (rooms) the authenticated user belongs to. Returns room IDs, titles, types, and last activity timestamps. Use for discovering available rooms before reading messages or posting. |
webex.webex_get_room | Read | room_id | Get details for a specific Webex room by its ID. Returns room title, type (direct or group), creator, creation date, and last activity. |
webex.webex_list_messages | Read | room_id, max, before, after | List messages in a Webex room. Supports date-based filtering with before/after parameters and pagination. Returns message text, sender info, and timestamps. |
webex.webex_create_message | Write | room_id, text, markdown | Post a new message to a Webex room. Supports plain text and Markdown formatting. Provide either "text" (plain text) or "markdown" (formatted), or both — Webex will display Markdown to clients that support it and fall back to plain text. |
webex.webex_list_meetings | Read | from, to, max | List scheduled Webex meetings for the authenticated user. Supports date range filtering with "from" and "to" parameters (ISO 8601). Returns meeting titles, start/end times, and join links. |
webex.webex_get_current_user | Read | none | Get the profile of the currently authenticated Webex user. Returns display name, email, avatar, and account details. Useful for identifying which account the integration is connected to. |
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.