set_tableauserver_connection
Configure the workbook datasource to use a Tableau Server connection.
Instructions
Configure the workbook datasource to use a Tableau Server connection.
This edits the workbook datasource connection only. It does not configure Tableau REST API/PAT credentials for validate_workbook_api, upload_workbook, or screenshot_workbook; pass env_path to those validation tools instead.
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": {
"server": "<server>",
"dbname": "<dbname>",
"username": "<username>",
"table_name": "<table_name>"
},
"name": "set_tableauserver_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | 82 | |
| dbname | Yes | ||
| server | Yes | ||
| username | Yes | ||
| directory | No | /dataserver | |
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |