notebook_attach_environment
Attach a Microsoft Fabric environment to a notebook so it uses that environment's compute and libraries. Updates the notebook definition metadata.
Instructions
Attach a Fabric Environment to a notebook so it uses that environment's compute/libraries. Mutates the notebook definition metadata (no local files involved).
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>",
"notebookId": "<notebookId>",
"environmentId": "<environmentId>"
},
"name": "notebook_attach_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebookId | Yes | The notebook ID | |
| workspaceId | Yes | The workspace ID where the notebook lives | |
| environmentId | Yes | The environment ID to attach | |
| environmentWorkspaceId | No | Workspace ID of the environment (defaults to the notebook's workspaceId) |