Use the Smartsheet CLI from KosmoKrator to call Smartsheet tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Smartsheet can be configured headlessly with `kosmokrator integrations:configure smartsheet`.
# Install KosmoKrator first if it is not available on PATH.curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash# Configure and verify this integration.kosmokrator integrations:configure smartsheet --set 0="$SMARTSHEET_0" --enable --read allow --write ask --jsonkosmokrator integrations:doctor smartsheet --jsonkosmokrator integrations:status --json
Credentials
Authentication type: Bearer tokenbearer_token. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
0
SMARTSHEET_0
Secret secret
yes
access_token
Call Smartsheet Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Smartsheet.
smartsheet.smartsheet_list_sheets
Read read
List all sheets accessible to the authenticated Smartsheet user. Returns sheet names and IDs.
Array of column definitions. Each column must have "title" and "type". Supported types: TEXT_NUMBER, DATE, CHECKBOX, PICKLIST, CONTACT_LIST, DATETIME, DURATION, MULTI_CONTACT_LIST, AUTO_NUMBER.
smartsheet.smartsheet_add_rows
Add one or more rows to a Smartsheet sheet. Each row should have a "cells" array with objects containing "columnId" and "value".
Optional additional column options. For PICKLIST columns, include "options" (array of string values) and optionally "option" (e.g., "options": ["Yes","No"]). Other options include "symbol", "width", "format", etc.
smartsheet.smartsheet_list_workspaces
List all workspaces accessible to the authenticated Smartsheet user.
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.