KosmoKrator

meetings

Granola CLI for Shell Scripts

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

5 functions 3 read 2 write API key auth

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

Command Shape

# Granola CLI for Shell Scripts
kosmokrator integrations:configure granola --set api_key="$GRANOLA_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call granola.granola_list_meetings '{"limit":1,"offset":1,"query":"example_query","start_date":"example_start_date","end_date":"example_end_date"}' --json

Discovery Before Execution

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

kosmo integrations:docs granola --json
kosmo integrations:docs granola.granola_list_meetings --json
kosmo integrations:schema granola.granola_list_meetings --json
kosmo integrations:search "Granola" --json
kosmo integrations:list --json

Useful Granola CLI Functions

FunctionTypeParametersDescription
granola.granola_list_meetings Read limit, offset, query, start_date, end_date List recent meetings from Granola. Returns meeting titles, dates, participants, and summaries. Supports search by query and date filtering.
granola.granola_get_meeting Read id Get a single meeting from Granola by ID. Returns the full meeting details including transcript, summary, notes, and participant list.
granola.granola_create_note Write meeting_id, content Create a note on a Granola meeting. Use this to add follow-up notes, action items, or comments to a meeting.
granola.granola_share_meeting Write meeting_id, emails, message Share a Granola meeting with other people. Specify email addresses of recipients and an optional message.
granola.granola_get_current_user Read none Get the profile of the currently authenticated Granola user. Returns name, email, and account details.

Automation Notes

Related Granola CLI Pages