create_pyspark_notebook
Create a PySpark notebook in a Fabric workspace using basic, ETL, analytics, or ML templates to jumpstart your data processing code.
Instructions
Create a new PySpark notebook from a template in a Fabric workspace.
Args:
workspace: Name or ID of the workspace
notebook_name: Name of the new notebook
template_type: Type of PySpark template ('basic', 'etl', 'analytics', 'ml')
ctx: Context object containing client information
Returns:
A string containing the ID of the created notebook or an error message.
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": {
"workspace": "<workspace>",
"notebook_name": "<notebook_name>"
},
"name": "create_pyspark_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | ||
| notebook_name | Yes | ||
| template_type | No | basic |