KosmoKrator

productivity

Google Meet Lua API for KosmoKrator Agents

Agent-facing Lua documentation and function reference for the Google Meet KosmoKrator integration.

Lua Namespace

Agents call this integration through app.integrations.google_meet.*. Use lua_read_doc("integrations.google-meet") inside KosmoKrator to discover the same reference at runtime.

Call Lua from the Headless CLI

Use kosmo integrations:lua when a shell script, CI job, cron job, or another coding CLI should run a deterministic Google Meet workflow without starting an interactive agent session.

Inline Lua call
kosmo integrations:lua --eval 'dump(app.integrations.google_meet.spaces_create({}))' --json
Read Lua docs headlessly
kosmo integrations:lua --eval 'print(docs.read("google-meet"))' --json
kosmo integrations:lua --eval 'print(docs.read("google-meet.spaces_create"))' --json

Workflow file

Put repeatable logic in a Lua file, then execute it with JSON output for the calling process.

workflow.lua
local google_meet = app.integrations.google_meet
local result = google_meet.spaces_create({})

dump(result)
Run the workflow
kosmo integrations:lua workflow.lua --json
kosmo integrations:lua workflow.lua --force --json
Namespace note. integrations:lua exposes app.integrations.google_meet, app.mcp.*, docs.*, json.*, and regex.*. Use app.integrations.google_meet.default.* or app.integrations.google_meet.work.* when you configured named credential accounts.

MCP-only Lua

If the script only needs configured MCP servers and does not need Google Meet, use the narrower mcp:lua command.

MCP Lua command
# Use mcp:lua for MCP-only scripts; use integrations:lua for this integration namespace.
kosmo mcp:lua --eval 'dump(mcp.servers())' --json

Agent-Facing Lua Docs

This is the rendered version of the full Lua documentation exposed to agents when they inspect the integration namespace.

Google Meet

Google Meet tools are exposed under app.integrations.google_meet. This package is generated from Google’s official Meet v2 Discovery document and exposes 18 REST methods.

Use it for meeting workflows: create and inspect meeting spaces, end active conferences, list conference records, inspect participants and participant sessions, list recordings, list transcripts and transcript entries, and read smart notes.

Each method-specific tool accepts Discovery path parameters as top-level arguments, known query parameters as top-level shortcuts or inside query, and request resources inside body. Resource path parameters preserve /, so pass full names like spaces/example, conferenceRecords/abc, or conferenceRecords/abc/transcripts/xyz.

Examples

local space = app.integrations.google_meet.google_meet_spaces_create({
  body = {
    config = { accessType = "TRUSTED" }
  }
})

local records = app.integrations.google_meet.google_meet_conference_records_list({
  pageSize = 10,
  filter = 'space.name = "spaces/example"'
})

local participants = app.integrations.google_meet.google_meet_conference_records_participants_list({
  parent = "conferenceRecords/example",
  pageSize = 20
})

Returned data is the parsed JSON response from the Meet API. Empty successful responses return { success = true, status = <http_status> }.

Use read-only Meet scopes for conference inspection and https://www.googleapis.com/auth/meetings.space.created or settings scopes for creating or changing meeting spaces.

Raw agent markdown
# Google Meet

Google Meet tools are exposed under `app.integrations.google_meet`. This package is generated from Google's official Meet v2 Discovery document and exposes 18 REST methods.

Use it for meeting workflows: create and inspect meeting spaces, end active conferences, list conference records, inspect participants and participant sessions, list recordings, list transcripts and transcript entries, and read smart notes.

Each method-specific tool accepts Discovery path parameters as top-level arguments, known query parameters as top-level shortcuts or inside `query`, and request resources inside `body`. Resource path parameters preserve `/`, so pass full names like `spaces/example`, `conferenceRecords/abc`, or `conferenceRecords/abc/transcripts/xyz`.

## Examples

```lua
local space = app.integrations.google_meet.google_meet_spaces_create({
  body = {
    config = { accessType = "TRUSTED" }
  }
})

local records = app.integrations.google_meet.google_meet_conference_records_list({
  pageSize = 10,
  filter = 'space.name = "spaces/example"'
})

local participants = app.integrations.google_meet.google_meet_conference_records_participants_list({
  parent = "conferenceRecords/example",
  pageSize = 20
})
```

Returned data is the parsed JSON response from the Meet API. Empty successful responses return `{ success = true, status = <http_status> }`.

Use read-only Meet scopes for conference inspection and `https://www.googleapis.com/auth/meetings.space.created` or settings scopes for creating or changing meeting spaces.
Metadata-derived Lua example
local result = app.integrations.google_meet.spaces_create({})
print(result)

Functions

spaces_create Write

Spaces Create (POST /v2/spaces).

Lua path
app.integrations.google_meet.spaces_create
Full name
google-meet.google_meet_spaces_create
ParameterTypeRequiredDescription
No parameters.
spaces_get Read

Spaces Get (GET /v2/{+name}).

Lua path
app.integrations.google_meet.spaces_get
Full name
google-meet.google_meet_spaces_get
ParameterTypeRequiredDescription
No parameters.
spaces_end_active_conference Write

Spaces End Active Conference (POST /v2/{+name}:endActiveConference).

Lua path
app.integrations.google_meet.spaces_end_active_conference
Full name
google-meet.google_meet_spaces_end_active_conference
ParameterTypeRequiredDescription
No parameters.
spaces_patch Write

Spaces Patch (PATCH /v2/{+name}).

Lua path
app.integrations.google_meet.spaces_patch
Full name
google-meet.google_meet_spaces_patch
ParameterTypeRequiredDescription
No parameters.
conference_records_list Read

Conference Records List (GET /v2/conferenceRecords).

Lua path
app.integrations.google_meet.conference_records_list
Full name
google-meet.google_meet_conference_records_list
ParameterTypeRequiredDescription
No parameters.
conference_records_get Read

Conference Records Get (GET /v2/{+name}).

Lua path
app.integrations.google_meet.conference_records_get
Full name
google-meet.google_meet_conference_records_get
ParameterTypeRequiredDescription
No parameters.
conference_records_recordings_list Read

Conference Records Recordings List (GET /v2/{+parent}/recordings).

Lua path
app.integrations.google_meet.conference_records_recordings_list
Full name
google-meet.google_meet_conference_records_recordings_list
ParameterTypeRequiredDescription
No parameters.
conference_records_recordings_get Read

Conference Records Recordings Get (GET /v2/{+name}).

Lua path
app.integrations.google_meet.conference_records_recordings_get
Full name
google-meet.google_meet_conference_records_recordings_get
ParameterTypeRequiredDescription
No parameters.
conference_records_participants_get Read

Conference Records Participants Get (GET /v2/{+name}).

Lua path
app.integrations.google_meet.conference_records_participants_get
Full name
google-meet.google_meet_conference_records_participants_get
ParameterTypeRequiredDescription
No parameters.
conference_records_participants_list Read

Conference Records Participants List (GET /v2/{+parent}/participants).

Lua path
app.integrations.google_meet.conference_records_participants_list
Full name
google-meet.google_meet_conference_records_participants_list
ParameterTypeRequiredDescription
No parameters.
conference_records_participants_participant_sessions_list Read

Conference Records Participants Participant Sessions List (GET /v2/{+parent}/participantSessions).

Lua path
app.integrations.google_meet.conference_records_participants_participant_sessions_list
Full name
google-meet.google_meet_conference_records_participants_participant_sessions_list
ParameterTypeRequiredDescription
No parameters.
conference_records_participants_participant_sessions_get Read

Conference Records Participants Participant Sessions Get (GET /v2/{+name}).

Lua path
app.integrations.google_meet.conference_records_participants_participant_sessions_get
Full name
google-meet.google_meet_conference_records_participants_participant_sessions_get
ParameterTypeRequiredDescription
No parameters.
conference_records_transcripts_list Read

Conference Records Transcripts List (GET /v2/{+parent}/transcripts).

Lua path
app.integrations.google_meet.conference_records_transcripts_list
Full name
google-meet.google_meet_conference_records_transcripts_list
ParameterTypeRequiredDescription
No parameters.
conference_records_transcripts_get Read

Conference Records Transcripts Get (GET /v2/{+name}).

Lua path
app.integrations.google_meet.conference_records_transcripts_get
Full name
google-meet.google_meet_conference_records_transcripts_get
ParameterTypeRequiredDescription
No parameters.
conference_records_transcripts_entries_get Read

Conference Records Transcripts Entries Get (GET /v2/{+name}).

Lua path
app.integrations.google_meet.conference_records_transcripts_entries_get
Full name
google-meet.google_meet_conference_records_transcripts_entries_get
ParameterTypeRequiredDescription
No parameters.
conference_records_transcripts_entries_list Read

Conference Records Transcripts Entries List (GET /v2/{+parent}/entries).

Lua path
app.integrations.google_meet.conference_records_transcripts_entries_list
Full name
google-meet.google_meet_conference_records_transcripts_entries_list
ParameterTypeRequiredDescription
No parameters.
conference_records_smart_notes_get Read

Conference Records Smart Notes Get (GET /v2/{+name}).

Lua path
app.integrations.google_meet.conference_records_smart_notes_get
Full name
google-meet.google_meet_conference_records_smart_notes_get
ParameterTypeRequiredDescription
No parameters.
conference_records_smart_notes_list Read

Conference Records Smart Notes List (GET /v2/{+parent}/smartNotes).

Lua path
app.integrations.google_meet.conference_records_smart_notes_list
Full name
google-meet.google_meet_conference_records_smart_notes_list
ParameterTypeRequiredDescription
No parameters.