analytics
Tableau CLI for Headless Automation
Use the Tableau CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
6 functions 6 read 0 write Bearer token auth
Tableau CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Tableau CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Tableau CLI for Headless Automation
kosmokrator integrations:configure tableau --set access_token="$TABLEAU_ACCESS_TOKEN" --set site_id="$TABLEAU_SITE_ID" --enable --read allow --write ask --json
kosmo integrations:call tableau.tableau_list_workbooks '{"page_size":1,"page_number":1}' --json Discovery Before Execution
Agents and scripts can inspect Tableau docs and schemas before choosing a function.
kosmo integrations:docs tableau --json
kosmo integrations:docs tableau.tableau_list_workbooks --json
kosmo integrations:schema tableau.tableau_list_workbooks --json
kosmo integrations:search "Tableau" --json
kosmo integrations:list --json Useful Tableau CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
tableau.tableau_list_workbooks | Read | page_size, page_number | List workbooks available on the Tableau site. Returns workbook names, IDs, project assignments, and owners. Use the workbook IDs with tableau_get_workbook for full details. |
tableau.tableau_get_workbook | Read | workbook_id | Get detailed information about a specific Tableau workbook, including its views, connections, and permissions. Requires the workbook LUID. |
tableau.tableau_list_views | Read | page_size, page_number | List views (dashboards and sheets) available on the Tableau site. Returns view names, IDs, and associated workbooks. Use view IDs with tableau_get_view for full details. |
tableau.tableau_get_view | Read | view_id | Get detailed information about a specific Tableau view (dashboard or sheet), including its workbook, owner, and usage stats. Requires the view LUID. |
tableau.tableau_list_projects | Read | page_size, page_number | List projects on the Tableau site. Projects organize workbooks and data sources. Returns project names, IDs, descriptions, and parent project info. |
tableau.tableau_get_current_user | Read | none | Get information about the currently authenticated Tableau user, including name, email, site role, and auth settings. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.