integrations
Integration connection status and agent-facing integration tools
limai integrations <subcommand>Inspect integration connections and deliver files or messages through them. Covers Slack, Google Drive, SharePoint, and Microsoft Teams.
--jsonOutput raw JSON--verboseEnable debug loggingSubcommands
limai integrations status
List integration connection status for a project: provider, status, granted scopes, tenant ID, and connection date. Requires the LIMAI_API_BASE_URL (or LIMAI_API_URL) and LIMAI_API_SECRET environment variables.
limai integrations statusList integration connection status for a project.
--project <projectId>Project ID (required)Agent-facing tools
The following commands are agent-facing tools used during agent executions. They authenticate either with LIMAI_API_SECRET (internal API) or, for uploads, with a LIMAI_API_TOKEN plus --agent and --execution-id for run authorization.
limai integrations slack send
Post a message to a Slack channel via the configured project connection.
limai integrations slack sendPost a message to a Slack channel.
--project <projectId>Project ID (required)--channel <channelId>Slack channel ID (required)--text <text>Message text, also used as the notification fallback (required)--blocks <file>Path to a JSON file containing a Slack blocks arraylimai integrations gdrive upload
Upload a file from an S3 key to Google Drive via the project connection. Local file paths are not supported — upload to S3 first, then pass the S3 key.
limai integrations gdrive uploadUpload a file from an S3 key to Google Drive.
--project <projectId>Project ID (required)--agent <agentId>Agent ID for resolving default destination config--execution-id <executionId>Agent execution ID for run authorization--file <s3Key>S3 key of the uploaded artifact (required)--name <fileName>Destination file name in Google Drive (required)--folder <folderId>Destination Google Drive folder ID--mime <mimeType>MIME type (defaults to S3 ContentType or application/octet-stream)limai integrations sharepoint upload
Upload a file from an S3 key to SharePoint via the agent's configured connection.
limai integrations sharepoint uploadUpload a file from an S3 key to SharePoint.
--project <projectId>Project ID (required)--agent <agentId>Agent ID (required)--execution-id <executionId>Agent execution ID (required)--file <s3Key>S3 key for the uploaded artifact (required)--name <fileName>Destination file name in SharePoint (required)--drive <driveId>Destination SharePoint drive ID--folder <folderId>Destination SharePoint folder ID--mime <mimeType>MIME type (defaults to S3 ContentType or application/octet-stream)limai integrations teams send
Send a message to a Microsoft Teams channel or chat via the project connection. Provide either --team and --channel together, or --chat — not both.
limai integrations teams sendSend a message to a Teams channel or chat.
--project <projectId>Project ID (required)--team <teamId>Target team ID (use with --channel)--channel <channelId>Target channel ID (use with --team)--chat <chatId>Target chat ID (alternative to --team/--channel)--text <text>Message text (required)Examples
Check integration connections for a project
limai integrations status --project proj_abc123Status as JSON
limai integrations status --project proj_abc123 --json