KosmoKrator

other

Radar CLI for Shell Scripts

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

7 functions 6 read 1 write Bearer token auth

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

Command Shape

# Radar CLI for Shell Scripts
kosmokrator integrations:configure radar --set access_token="$RADAR_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call radar.radar_list_geofences '{"limit":1,"cursor":"example_cursor","tag":"example_tag","group":"example_group"}' --json

Discovery Before Execution

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

kosmo integrations:docs radar --json
kosmo integrations:docs radar.radar_list_geofences --json
kosmo integrations:schema radar.radar_list_geofences --json
kosmo integrations:search "Radar" --json
kosmo integrations:list --json

Useful Radar CLI Functions

FunctionTypeParametersDescription
radar.radar_list_geofences Read limit, cursor, tag, group List geofences from Radar with optional filters for tag, group, and pagination.
radar.radar_get_geofence Read geofence_id Retrieve detailed information about a specific geofence by its ID.
radar.radar_create_geofence Write name, description, type, coordinates, radius, tag, group, external_id, metadata Create a new geofence in Radar with a name, type, and geometry.
radar.radar_list_users Read limit, cursor, tags List users from Radar with optional filters for tags and pagination.
radar.radar_get_user Read user_id Retrieve detailed information about a specific Radar user by their ID.
radar.radar_list_events Read limit, cursor, type, user_id, geofence_id List events from Radar with optional filters for type, user, and pagination.
radar.radar_get_current_user Read none Get the currently authenticated Radar user's account information.

Automation Notes

Related Radar CLI Pages