revert_table
Revert a table from a source reference to a target branch in your data catalog, with an option to replace the table if it already exists.
Instructions
Revert a specified table from a source reference to a target branch in the user's Bauplan data catalog using a table name, source reference, and target branch. Revert a table from a source reference to a target branch.
Args: table: The table to revert. source_ref: The name of the source ref. into_branch: The name of the target branch where the table will be reverted. replace: Optional, whether to replace the table if it already exists.
Returns: TableReverted: Object indicating success/failure with revert details
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": {
"table": "<table>",
"source_ref": "<source_ref>",
"into_branch": "<into_branch>"
},
"name": "revert_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| source_ref | Yes | ||
| into_branch | Yes | ||
| replace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| source_ref | Yes | ||
| into_branch | Yes | ||
| success | Yes | ||
| message | Yes |