mirrored_database_get_definition
Retrieves the definition of a mirrored database and writes the definition files to a specified output directory for analysis or version control.
Instructions
Get the definition of a mirrored database (long-running). Writes definition files to the specified output directory.
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": {
"workspaceId": "<workspaceId>",
"mirroredDatabaseId": "<mirroredDatabaseId>",
"outputDirectoryPath": "<outputDirectoryPath>"
},
"name": "mirrored_database_get_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | The workspace ID | |
| mirroredDatabaseId | Yes | The mirrored database ID | |
| outputDirectoryPath | Yes | Directory path where definition files will be written |