get_notebook_path
Retrieve the complete path of a notebook by its name and location, formatted for API operations. Essential for creating scheduled jobs using the returned path.
Instructions
Find the complete path of a notebook by its name and generate the properly formatted path for API operations.
Args:
notebook_name: The name of the notebook to find (with or without .ipynb extension)
location: Where to look for the notebook - 'personal' or 'shared'
Returns:
Properly formatted path including project ID and user ID where needed
Required for:
- Creating scheduled jobs (use returned path as notebook_path parameter)
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": {
"notebook_name": "<notebook_name>",
"location": "<location>"
},
"name": "get_notebook_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No | ||
| location | Yes | ||
| notebook_name | Yes |