notebook_get_definition
Retrieve a notebook's definition files and write them to a specified directory for export, backup, or inspection.
Instructions
Get the content/definition of a notebook (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>",
"notebookId": "<notebookId>",
"outputDirectoryPath": "<outputDirectoryPath>"
},
"name": "notebook_get_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebookId | Yes | The notebook ID | |
| workspaceId | Yes | The workspace ID | |
| outputDirectoryPath | Yes | Directory path where notebook definition files will be written |