productivity
Zoho Sheet CLI for AI Agents
Use the Zoho Sheet CLI from KosmoKrator to call Zoho Sheet tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Zoho Sheet CLI Setup
Zoho Sheet can be configured headlessly with `kosmokrator integrations:configure zoho-sheet`.
# 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 zoho-sheet --set access_token="$ZOHO_SHEET_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor zoho-sheet --json
kosmokrator integrations:status --json Credentials
Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
access_token | ZOHO_SHEET_ACCESS_TOKEN | Secret secret | yes | Access Token |
url | ZOHO_SHEET_URL | URL url | no | API Base URL |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call zoho-sheet.zoho_sheet_list_spreadsheets '{"page":1,"per_page":1}' --json kosmo integrations:zoho-sheet zoho_sheet_list_spreadsheets '{"page":1,"per_page":1}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs zoho-sheet --json
kosmo integrations:docs zoho-sheet.zoho_sheet_list_spreadsheets --json
kosmo integrations:schema zoho-sheet.zoho_sheet_list_spreadsheets --json
kosmo integrations:search "Zoho Sheet" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
zoho-sheet.zoho_sheet_list_spreadsheets
List all spreadsheets accessible to the authenticated Zoho Sheet user. Returns spreadsheet names, IDs, and metadata. Use this to discover available spreadsheets before querying worksheets or rows.
read - Parameters
- page, per_page
kosmo integrations:call zoho-sheet.zoho_sheet_list_spreadsheets '{"page":1,"per_page":1}' --json kosmo integrations:zoho-sheet zoho_sheet_list_spreadsheets '{"page":1,"per_page":1}' --json zoho-sheet.zoho_sheet_get_spreadsheet
Get details of a specific Zoho Sheet spreadsheet by its ID. Returns spreadsheet metadata including name, description, and associated worksheets.
read - Parameters
- id
kosmo integrations:call zoho-sheet.zoho_sheet_get_spreadsheet '{"id":"example_id"}' --json kosmo integrations:zoho-sheet zoho_sheet_get_spreadsheet '{"id":"example_id"}' --json zoho-sheet.zoho_sheet_list_worksheets
List all worksheets within a Zoho Sheet spreadsheet. Returns worksheet names, IDs, and metadata like row/column counts. Use this to discover worksheets before reading or writing row data.
read - Parameters
- id
kosmo integrations:call zoho-sheet.zoho_sheet_list_worksheets '{"id":"example_id"}' --json kosmo integrations:zoho-sheet zoho_sheet_list_worksheets '{"id":"example_id"}' --json zoho-sheet.zoho_sheet_get_worksheet
Get details of a specific worksheet within a Zoho Sheet spreadsheet. Returns worksheet metadata including name, row/column counts, and header information.
read - Parameters
- id, worksheet_id
kosmo integrations:call zoho-sheet.zoho_sheet_get_worksheet '{"id":"example_id","worksheet_id":"example_worksheet_id"}' --json kosmo integrations:zoho-sheet zoho_sheet_get_worksheet '{"id":"example_id","worksheet_id":"example_worksheet_id"}' --json zoho-sheet.zoho_sheet_list_rows
List rows in a Zoho Sheet worksheet with pagination. Returns row data as key-value pairs using column headers as keys. Use this to read data from a specific worksheet.
read - Parameters
- id, worksheet_id, page, per_page
kosmo integrations:call zoho-sheet.zoho_sheet_list_rows '{"id":"example_id","worksheet_id":"example_worksheet_id","page":1,"per_page":1}' --json kosmo integrations:zoho-sheet zoho_sheet_list_rows '{"id":"example_id","worksheet_id":"example_worksheet_id","page":1,"per_page":1}' --json zoho-sheet.zoho_sheet_create_row
Create a new row in a Zoho Sheet worksheet. Provide column header names as keys and their values. The row will be appended to the end of the worksheet.
write - Parameters
- id, worksheet_id, data
kosmo integrations:call zoho-sheet.zoho_sheet_create_row '{"id":"example_id","worksheet_id":"example_worksheet_id","data":"example_data"}' --json kosmo integrations:zoho-sheet zoho_sheet_create_row '{"id":"example_id","worksheet_id":"example_worksheet_id","data":"example_data"}' --json zoho-sheet.zoho_sheet_get_current_user
Get the authenticated Zoho Sheet user's profile information. Returns display name, email, and account details. Useful for verifying which account is connected.
read - Parameters
- none
kosmo integrations:call zoho-sheet.zoho_sheet_get_current_user '{}' --json kosmo integrations:zoho-sheet zoho_sheet_get_current_user '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
zoho-sheet.zoho_sheet_list_spreadsheets 2 parameters
kosmo integrations:schema zoho-sheet.zoho_sheet_list_spreadsheets --json | Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | no | Page number for pagination (default: 1). |
per_page | integer | no | Number of spreadsheets per page (default: 25, max: 100). |
zoho-sheet.zoho_sheet_get_spreadsheet 1 parameters
kosmo integrations:schema zoho-sheet.zoho_sheet_get_spreadsheet --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The spreadsheet resource ID. |
zoho-sheet.zoho_sheet_list_worksheets 1 parameters
kosmo integrations:schema zoho-sheet.zoho_sheet_list_worksheets --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The spreadsheet resource ID. |
zoho-sheet.zoho_sheet_get_worksheet 2 parameters
kosmo integrations:schema zoho-sheet.zoho_sheet_get_worksheet --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The spreadsheet resource ID. |
worksheet_id | string | yes | The worksheet resource ID. |
zoho-sheet.zoho_sheet_list_rows 4 parameters
kosmo integrations:schema zoho-sheet.zoho_sheet_list_rows --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The spreadsheet resource ID. |
worksheet_id | string | yes | The worksheet resource ID. |
page | integer | no | Page number for pagination (default: 1). |
per_page | integer | no | Number of rows per page (default: 25, max: 100). |
zoho-sheet.zoho_sheet_create_row 3 parameters
kosmo integrations:schema zoho-sheet.zoho_sheet_create_row --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The spreadsheet resource ID. |
worksheet_id | string | yes | The worksheet resource ID. |
data | object | yes | Row data as key-value pairs. Keys must match column headers in the worksheet (e.g., {"Name": "John", "Email": "john@example.com", "Age": 30}). |
zoho-sheet.zoho_sheet_get_current_user 0 parameters
kosmo integrations:schema zoho-sheet.zoho_sheet_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
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.