environment_get_definition
Retrieves the public definition of a Microsoft Fabric environment and writes the definition files to a specified local directory, enabling backup, versioning, or inspection.
Instructions
Get the environment public definition (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>",
"environmentId": "<environmentId>",
"outputDirectoryPath": "<outputDirectoryPath>"
},
"name": "environment_get_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | The workspace ID | |
| environmentId | Yes | The environment ID | |
| outputDirectoryPath | Yes | Directory path where definition files will be written |