publish_to_cloud
Publish generated Tableau workbooks to Tableau Cloud or Server via REST API using PAT credentials, specifying server, site, project, and workbook path.
Instructions
Publish a generated Tableau workbook to Tableau Cloud or Tableau Server via REST API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workbook_path": "<workbook_path>",
"server_url": "<server_url>",
"site_id": "<site_id>",
"project_name": "<project_name>",
"pat_name": "<pat_name>",
"pat_secret": "<pat_secret>"
},
"name": "publish_to_cloud"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | Tableau site ID (content URL). | |
| pat_name | Yes | Personal Access Token name. | |
| pat_secret | Yes | Personal Access Token secret. | |
| server_url | Yes | Tableau Cloud/Server URL (e.g. 'https://prod-apnortheast-a.online.tableau.com'). | |
| project_name | Yes | Target project name on the Tableau site. | |
| workbook_path | Yes | Absolute path to the .twbx file to publish. |