From 87265358db6581a20de3223647fe6cbdd28e76e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dino=20Hamzi=C4=87?= <31952489+dinohamzic@users.noreply.github.com> Date: Mon, 30 Nov 2026 10:15:56 +0100 Subject: [PATCH 1/3] docs(mcp): document notebook schedule tools (BLU-6836) --- .claude-plugin/marketplace.json | 4 ++-- README.md | 5 ++++- plugins/deepnote/.claude-plugin/plugin.json | 4 ++-- plugins/deepnote/.codex-plugin/plugin.json | 6 +++--- plugins/deepnote/README.md | 5 +++-- plugins/deepnote/skills/deepnote-mcp/SKILL.md | 16 ++++++++++------ .../deepnote/skills/deepnote-notebooks/SKILL.md | 4 ++-- plugins/deepnote/skills/deepnote-runs/SKILL.md | 17 +++++++++++++++-- .../deepnote/skills/deepnote-workspace/SKILL.md | 2 +- 9 files changed, 42 insertions(+), 21 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index f4d1f35..4d422fc 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -5,13 +5,13 @@ "url": "https://deepnote.com" }, "metadata": { - "description": "Deepnote plugin for Claude Code: hosted Deepnote MCP server plus skills for workspace search, notebooks, links, integrations, docs, and notebook runs." + "description": "Deepnote plugin for Claude Code: hosted Deepnote MCP server plus skills for workspace search, notebooks, links, integrations, docs, notebook runs, and schedules." }, "plugins": [ { "name": "deepnote", "source": "./plugins/deepnote", - "description": "Search Deepnote workspaces, inspect and edit projects and notebooks, manage integrations and project machines, build data apps and Streamlit apps, generate links, read docs, and run notebooks from Claude.", + "description": "Search Deepnote workspaces, inspect and edit projects and notebooks, manage integrations and project machines, build data apps and Streamlit apps, generate links, read docs, run notebooks, and manage notebook schedules from Claude.", "category": "Data & Analytics", "keywords": [ "deepnote", diff --git a/README.md b/README.md index 272323c..86d89b4 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Use Deepnote from Codex, Claude Code, or other AI agents. This repo serves all Deepnote agent plugins. -The plugin connects the agent to the hosted Deepnote MCP server at `https://deepnote.com/mcp` and ships skills that teach it how to work with Deepnote workspaces, projects, notebooks, integrations, apps, docs, and notebook runs. +The plugin connects the agent to the hosted Deepnote MCP server at `https://deepnote.com/mcp` and ships skills that teach it how to work with Deepnote workspaces, projects, notebooks, integrations, apps, docs, notebook runs, and schedules. ## Install @@ -47,6 +47,7 @@ Through the hosted MCP server the agent can: - Create, attach, and detach integrations, inspect cached table structure, and map integration usage - Read and write small text files in a project, copy files between projects, delete files, and generate canonical project or notebook URLs - Start notebook runs, optionally with input values or on a chosen machine type, and read run history, status, errors, and snapshot output +- List, add, update, and remove recurring notebook schedules with their own timing, names, and input values - Choose a project's environment (Docker image), check whether its machine is running and how big it is, start, stop, or restart it, and change its machine type or idle shutdown - Read Deepnote docs - Build data apps and Streamlit apps, each in a project of its own @@ -70,6 +71,8 @@ In Claude Code and Codex the agent can also preview a data app's page locally ag - `Build a data app that shows weekly signups by country.` - `Build a Streamlit app for exploring sales by region.` - `Copy utils/helpers.py from this project into my Sales Analysis project.` +- `List the schedules for this Deepnote notebook.` +- `Schedule this notebook every weekday at 09:00 Europe/Prague.` - `Look up the Deepnote docs for scheduled notebooks.` ## Local `.deepnote` files diff --git a/plugins/deepnote/.claude-plugin/plugin.json b/plugins/deepnote/.claude-plugin/plugin.json index 0077af9..652dc03 100644 --- a/plugins/deepnote/.claude-plugin/plugin.json +++ b/plugins/deepnote/.claude-plugin/plugin.json @@ -1,8 +1,8 @@ { "name": "deepnote", "displayName": "Deepnote", - "version": "0.9.2", - "description": "Search Deepnote workspaces, inspect and edit projects and notebooks, manage integrations and project machines, build data apps and Streamlit apps, generate links, read docs, and run notebooks from Claude.", + "version": "0.10.0", + "description": "Search Deepnote workspaces, inspect and edit projects and notebooks, manage integrations and project machines, build data apps and Streamlit apps, generate links, read docs, run notebooks, and manage notebook schedules from Claude.", "author": { "name": "Deepnote", "url": "https://deepnote.com" diff --git a/plugins/deepnote/.codex-plugin/plugin.json b/plugins/deepnote/.codex-plugin/plugin.json index 6536296..a4b99ff 100644 --- a/plugins/deepnote/.codex-plugin/plugin.json +++ b/plugins/deepnote/.codex-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "deepnote", - "version": "0.9.2", - "description": "Search Deepnote workspaces, inspect and edit projects and notebooks, manage integrations and project machines, build data apps and Streamlit apps, generate links, read docs, and run notebooks from ChatGPT and Codex.", + "version": "0.10.0", + "description": "Search Deepnote workspaces, inspect and edit projects and notebooks, manage integrations and project machines, build data apps and Streamlit apps, generate links, read docs, run notebooks, and manage notebook schedules from ChatGPT and Codex.", "author": { "name": "Deepnote", "url": "https://deepnote.com" @@ -22,7 +22,7 @@ "interface": { "displayName": "Deepnote", "shortDescription": "Analyze data with Deepnote", - "longDescription": "Work with Deepnote workspaces, projects, and notebooks from ChatGPT and Codex. Search resources, inspect projects, read, write, copy, and delete project files, manage integrations, choose project environments, start, stop, and resize project machines, generate project and notebook links, edit notebook structure, build data apps and Streamlit apps, read Deepnote docs, run notebooks with optional inputs, and summarize run history, status, and outputs. Requires a Deepnote account with access to the workspace and permission for each requested action; a workspace admin must enable MCP access.", + "longDescription": "Work with Deepnote workspaces, projects, and notebooks from ChatGPT and Codex. Search resources, inspect projects, read, write, copy, and delete project files, manage integrations, choose project environments, start, stop, and resize project machines, generate project and notebook links, edit notebook structure, build data apps and Streamlit apps, read Deepnote docs, run notebooks with optional inputs, manage recurring notebook schedules, and summarize run history, status, and outputs. Requires a Deepnote account with access to the workspace and permission for each requested action; a workspace admin must enable MCP access.", "developerName": "Deepnote", "category": "Data & Analytics", "capabilities": [ diff --git a/plugins/deepnote/README.md b/plugins/deepnote/README.md index e4f1ca8..c6799ac 100644 --- a/plugins/deepnote/README.md +++ b/plugins/deepnote/README.md @@ -1,11 +1,11 @@ # Deepnote -Work with your Deepnote workspace from Claude. Search projects, read and edit notebooks, run them and read the results, manage integrations and project machines, and build data apps and Streamlit apps. +Work with your Deepnote workspace from Claude. Search projects, read and edit notebooks, run them and read the results, manage notebook schedules, integrations, and project machines, and build data apps and Streamlit apps. ## What the plugin includes - A connection to the hosted Deepnote MCP server at `https://deepnote.com/mcp`. You sign in with your Deepnote account through OAuth, and Claude can only see and change what your account already has access to. -- Seven skills that teach Claude how to use the server well: shared rules and the tool catalogue, workspace and project inspection, notebooks and blocks, notebook runs and machines, project and notebook links, data apps, and Streamlit apps. +- Seven skills that teach Claude how to use the server well: shared rules and the tool catalogue, workspace and project inspection, notebooks and blocks, notebook runs and schedules (including machines), project and notebook links, data apps, and Streamlit apps. If you already added the Deepnote connector in Claude, the plugin uses the same server, so you see one set of Deepnote tools. @@ -29,6 +29,7 @@ Then run `/mcp`, choose the Deepnote server, and sign in. - Search my Deepnote workspace for customer retention notebooks. - Inspect this Deepnote notebook and summarize it. - Run this Deepnote notebook with customer_name set to Acme. +- List this notebook's schedules and when they run. - Show me where this Deepnote integration is used. - Build a data app that shows weekly signups by country. diff --git a/plugins/deepnote/skills/deepnote-mcp/SKILL.md b/plugins/deepnote/skills/deepnote-mcp/SKILL.md index 5358d94..1ce7b37 100644 --- a/plugins/deepnote/skills/deepnote-mcp/SKILL.md +++ b/plugins/deepnote/skills/deepnote-mcp/SKILL.md @@ -1,13 +1,13 @@ --- name: deepnote-mcp -description: Use when a task mentions Deepnote, the Deepnote MCP server, Deepnote docs, projects, workspaces, notebooks, blocks, integrations, API keys, files, apps, or notebook runs. Shared rules for all Deepnote skills. +description: Use when a task mentions Deepnote, the Deepnote MCP server, Deepnote docs, projects, workspaces, notebooks, blocks, integrations, API keys, files, apps, notebook runs, or schedules. Shared rules for all Deepnote skills. --- # Deepnote MCP ## When To Use Deepnote -Use the Deepnote MCP server as the primary interface for hosted Deepnote state. Prefer it over browser automation, screenshots, ad hoc HTTP calls, or local filesystem guesses whenever the user asks about Deepnote projects, notebooks, blocks, integrations, files, apps, search, or notebook runs. The one exception is previewing a data app page locally with the script in `deepnote-data-apps`. +Use the Deepnote MCP server as the primary interface for hosted Deepnote state. Prefer it over browser automation, screenshots, ad hoc HTTP calls, or local filesystem guesses whenever the user asks about Deepnote projects, notebooks, blocks, integrations, files, apps, search, notebook runs, or schedules. The one exception is previewing a data app page locally with the script in `deepnote-data-apps`. Local `.deepnote` files are a separate surface. These MCP tools only see projects in Deepnote Cloud; they do not read or write `.deepnote` files in the user's repository. For those, use the open-source `deepnote` CLI (`npm install -g @deepnote/cli`). `deepnote install-skills` installs a skill with the `.deepnote` format and the CLI reference. Use `deepnote sync` to pull Cloud projects into local files and push local edits back, and `deepnote open` to upload a local file to Deepnote Cloud. Source and docs: https://github.com/deepnote/deepnote. @@ -59,6 +59,10 @@ This is the authoritative summary of tool arguments. Workflow skills add only th - `create_run`: start a notebook run by `notebookId`. It accepts optional `inputs` keyed by notebook input name, `detached` (default `true`), `detachedRunStorageMode` (`read_write` or `readonly`, detached runs only), `machineType` (an `id` from `list_machine_types`, detached runs only; defaults to the project's machine type), a non-empty unique `blockIds` list (live runs only), and `runDependentBlocks` (requires `blockIds`). For targeted execution, set `detached: false` and pass `blockIds`; omit `blockIds` to run the full notebook. - `list_notebook_runs`: list historical notebook runs newest first, with `pageSize` (default 20) and `pageToken` pagination. Rows carry `runId`, `notebookId`, `status`, `createdAt`, and `completedAt`. - `get_run`: fetch run `status`, `error`, `createdAt`, `completedAt`, and run snapshots. Optional `snapshotDelivery` is `"downloadUrl"` (the default when omitted), `"inline"`, or `"blocks"`. With `"blocks"`, outputs longer than 16,384 characters as JSON are replaced by a notice, with `outputHead` and `outputTail` showing how they start and end; `fullOutputs: true` returns them whole. +- `list_schedules`: list a notebook's schedules by `notebookId`, oldest first, in one unpaginated `schedules` array. Each schedule has `id`, `notebookId`, `cron`, `timezone`, `name`, `inputs`, `nextRunAt`, `isPaused`, `pauseReason`, `updatesNotebook`, `createdAt`, and `updatedAt`. The `id` is a string used as `scheduleId` for changes and deletion. `nextRunAt` can be `null`; `pauseReason` is `access-revoked`, `consecutive-failures`, or `null`. View access is enough. +- `create_schedule`: add a schedule next to a notebook's existing schedules. Requires `notebookId` and `cron`; accepts optional `timezone` (an IANA timezone, default `UTC`), `name` (1–100 characters after collapsing whitespace and trimming, or `null`), and `inputs` keyed by the input `name` from `get_notebook`. Inputs not listed use the notebook's saved values. The new schedule does not update the notebook with its results. Workspaces without multiple schedules reject a second schedule or non-empty input overrides. +- `update_schedule`: change a schedule by `scheduleId`. Requires at least one of `cron`, `timezone`, `name`, or `inputs`; omitted fields stay unchanged. Set `name: null` to remove the name. `inputs` replaces the entire override map; `null` or `{}` clears it. Setting non-empty overrides disables notebook output syncing; clearing them does not restore it. Any successful update resumes a paused schedule and makes the caller its owner, even when a value is unchanged. +- `delete_schedule`: remove a single schedule by `scheduleId` from `list_schedules`. The deleted schedule cannot be restored. Unlike creating or updating a schedule, deleting works without a scheduling entitlement, but still requires Execute access to the project or higher. - `list_machine_types`: list the machine types (sizes) projects can run on, with `id`, `name`, `vCpus`, `memoryGiB`, `gpuCount`, and `available` plus `unavailableReason` for the workspace's plan and free quota, plus the `sandboxEnvironments` and which one new projects use. A custom machine (`custom:`) only works for projects in its sandbox environment. - `get_machine`: get the project machine's `status` (`stopped`, `starting`, `running`, `stopping`, or `error`), `error`, `startingPhase` (what a `starting` machine waits for: `waiting_for_capacity` or `pulling_image`), machine `type` with its vCPUs, memory, and GPUs, `sandboxEnvironmentId`, and `idleShutdownSeconds` by `projectId`. This is the machine the editor, live runs, and hosted Streamlit apps use; detached runs use machines of their own. - `start_machine`, `stop_machine`, `restart_machine`: start, stop, or restart the project machine by `projectId`. They return without waiting, so poll `get_machine`. Starting a running machine or stopping a stopped one does nothing. Stopping or restarting clears kernel state for everyone working in the project; restarting recovers a machine in the `error` status. @@ -82,12 +86,12 @@ Before telling a user that a Deepnote action is impossible, check the tools the - Do not expose bearer tokens, integration credentials, or secret notebook input values. Refer to secret names only, and never repeat connection `metadata` returned by `create_integration`. - Avoid downloading or printing large datasets. Sample, summarize, or aggregate unless the user explicitly asks for an export. - Do not paste `snapshotDownloadUrl` values into answers unless the user asks for a download or file handoff. Snapshot handling is defined in `deepnote-runs`. -- Treat notebook execution as potentially stateful and costly. -- Treat resource creation, notebook duplication or renaming, block edits, file writes and copies, deleting projects, notebooks, blocks, or files, integration creation or attachment changes, app creation, data app publishing, environment, folder, and sandbox environment changes, and machine type or idle shutdown changes as persistent writes. Do them only when the user asked, resolve targets carefully, and report affected IDs. -- Delete only what the user named, and say what can be undone: `delete_notebook` can be restored from version history and `delete_project` from the trash for 30 days, but a deleted project's schedules are gone. `delete_file` cannot be undone, nor can the old content `write_file` replaces with `overwrite: true`. +- Treat notebook execution, including scheduled runs, as potentially stateful and costly. +- Treat resource creation, notebook duplication or renaming, block edits, file writes and copies, deleting projects, notebooks, blocks, or files, schedule changes, integration creation or attachment changes, app creation, data app publishing, environment, folder, and sandbox environment changes, and machine type or idle shutdown changes as persistent writes. Do them only when the user asked, resolve targets carefully, and report affected IDs. +- Delete only what the user named, and say what can be undone: `delete_notebook` can be restored from version history and `delete_project` from the trash for 30 days, but a deleted project's schedules are gone. `delete_schedule` and `delete_file` cannot be undone, nor can the old content `write_file` replaces with `overwrite: true`. - A running machine uses machine time. Start, stop, or restart it, or change its type or the project's environment, only when the user asked; a live run the user asked for may start it. Stopping or restarting it, changing its type or sandbox environment with `restart: true`, and changing the project's environment clear kernel state for everyone working in the project, so say that kernel state will be lost. - If a tool returns `isError`, surface the user-facing error message concisely. -- Capability boundary: the hosted server can create folders, integrations, and Streamlit apps; create and delete projects, notebooks, and blocks; rename and duplicate notebooks; update and reorder blocks; read and write small text-based project files, copy files between projects, and delete files; attach and detach integrations; publish and unpublish data apps; mint short-lived viewer tokens to preview a data app page locally; move a project to another folder and change its environment; and start, stop, restart, or resize the project machine. It cannot make a data app public, read or upload large files or big binary blobs, delete folders or integrations, delete a Streamlit app other than by deleting its entrypoint file, move notebooks between projects, create custom environments, or change schedules, whether a data app lets everyone with access see results without running it, permissions, package versions, credentials, or secrets. Check the advertised tools before relying on this boundary. +- Capability boundary: the hosted server can create folders, integrations, and Streamlit apps; create and delete projects, notebooks, and blocks; rename and duplicate notebooks; update and reorder blocks; list, create, update, and delete notebook schedules; read and write small text-based project files, copy files between projects, and delete files; attach and detach integrations; publish and unpublish data apps; mint short-lived viewer tokens to preview a data app page locally; move a project to another folder and change its environment; and start, stop, restart, or resize the project machine. It cannot make a data app public, read or upload large files or big binary blobs, delete folders or integrations, delete a Streamlit app other than by deleting its entrypoint file, move notebooks between projects, create custom environments, directly pause schedules or set schedule notifications or output syncing, or change whether a data app lets everyone with access see results without running it, permissions, package versions, credentials, or secrets. Check the advertised tools before relying on this boundary. ## Response Style diff --git a/plugins/deepnote/skills/deepnote-notebooks/SKILL.md b/plugins/deepnote/skills/deepnote-notebooks/SKILL.md index 48a57ff..159cb0c 100644 --- a/plugins/deepnote/skills/deepnote-notebooks/SKILL.md +++ b/plugins/deepnote/skills/deepnote-notebooks/SKILL.md @@ -5,7 +5,7 @@ description: "Use when reading or reviewing Deepnote notebooks, creating or dele # Deepnote Notebooks -Tool arguments are defined in `deepnote-mcp`. Running a notebook is `deepnote-runs`. Links follow `deepnote-links`. +Tool arguments are defined in `deepnote-mcp`. Running or scheduling a notebook is `deepnote-runs`. Links follow `deepnote-links`. ## Inspection Workflow @@ -16,7 +16,7 @@ Tool arguments are defined in `deepnote-mcp`. Running a notebook is `deepnote-ru 5. Call `get_block` when one block's `metadata` (input configuration, callout color, todo state) or its current output in the editor matters; `get_notebook` returns neither. Pass `includeOutputs: true` for the output, and `fullOutputs: true` only when the user needs a long output whole. 6. When SQL connection usage matters, confirm it with `get_block`, `list_integrations`, and the integration usage tools in `deepnote-workspace` instead of inferring from names; use `get_integration` for cached table and column context. 7. Ground reviews and explanations in specific notebook or block names and IDs when useful. -8. For recent, failed, or historical runs, use `deepnote-runs`. +8. For recent, failed, or historical runs, or details of a notebook's schedules, use `deepnote-runs`. ## Inspection Output diff --git a/plugins/deepnote/skills/deepnote-runs/SKILL.md b/plugins/deepnote/skills/deepnote-runs/SKILL.md index aea514f..389c691 100644 --- a/plugins/deepnote/skills/deepnote-runs/SKILL.md +++ b/plugins/deepnote/skills/deepnote-runs/SKILL.md @@ -1,9 +1,9 @@ --- name: deepnote-runs -description: Use when running a Deepnote notebook, passing run input values, checking run status, listing or auditing run history, debugging a failed or stuck run, or reading run snapshot outputs through the Deepnote MCP server. +description: Use when running a Deepnote notebook, passing run input values, checking run status, listing or auditing run history, debugging a failed or stuck run, reading run snapshot outputs, or listing, creating, updating, or deleting recurring notebook schedules through the Deepnote MCP server. --- -# Deepnote Runs +# Deepnote Runs And Schedules Tool arguments, pagination, and the capability boundary are defined in `deepnote-mcp`. Integration structure and usage are in `deepnote-workspace`. @@ -35,6 +35,19 @@ Tool arguments, pagination, and the capability boundary are defined in `deepnote If the user gives a label instead of a name, map it to the closest input `name` only when the match is unambiguous; otherwise ask. An undefined input name or a mismatched value type makes Deepnote reject the run with a validation error. Run input values apply to that run only and never change the notebook's saved defaults. +## Notebook Schedules + +A schedule is a recurring run configuration, not a run. Use the schedule tools, not `create_run`, to manage it. + +1. Resolve the notebook by name or ID, then call `list_schedules`. Use its returned schedule IDs to select the target for an update or deletion. For several same-named or unnamed schedules, disambiguate by timing, timezone, or ID. +2. For creation or a change affecting future execution, read the notebook first and apply the execution risk check above. For input overrides, use the exact notebook input names and value types from Run Inputs. They do not change the saved notebook values. +3. Use `create_schedule` only to add a schedule; it is not an upsert. Use a five-field cron expression and pass the user's intended IANA timezone, or explain that the default is UTC. If a matching schedule already exists, report it rather than creating a duplicate unless the user explicitly wants another. Creating or updating requires an eligible workspace plan and role and permission to schedule the notebook; runs more frequent than hourly require Enterprise. If the workspace allows only one schedule or does not support overrides, report a rejection rather than replacing an existing schedule or dropping inputs. +4. Use `update_schedule` with the selected ID and only the requested fields. When changing one input override, merge the new value into the existing `inputs` map from `list_schedules`, then send the whole map. Omit `inputs` when unchanged. Any update resumes a paused schedule and transfers ownership to the caller, so future runs execute as the caller; mention these effects when relevant. Avoid unchanged updates unless the user wants to resume the schedule or take ownership. +5. Use `delete_schedule` only for the schedule the user wants removed. Deletion is not pausing; the deleted schedule cannot be restored, though a new one can be created. MCP cannot directly pause a schedule or turn output syncing back on. Do not substitute deletion for a request to pause. +6. Report the schedule name (if any), ID, cron, timezone, next run (or pause reason), and whether its runs update notebook outputs. The API can return a computed `nextRunAt` even for a paused schedule; do not present it as an upcoming execution. A null next run means the stored timing cannot be resolved. Report only safe input summaries or input names, not secret values. + +New schedules do not update the notebook with their results. At most one schedule of a notebook can sync its outputs, never one with input overrides or in a project with private execution. Setting non-empty overrides stops syncing; removing them does not turn it back on. Output syncing and schedule notifications are configured in Deepnote. + ## Run History Use `list_notebook_runs` for recent runs, failed runs, run history, or anything older than the latest run metadata in `get_notebook`. For short requests, keep the default page size; for audits, page through all results. Use `get_run` only after selecting a specific run that needs detail. For "why did the last run fail?" without a run ID, list recent runs, pick the newest failed run, then call `get_run` for it. diff --git a/plugins/deepnote/skills/deepnote-workspace/SKILL.md b/plugins/deepnote/skills/deepnote-workspace/SKILL.md index a77d3e0..156e328 100644 --- a/plugins/deepnote/skills/deepnote-workspace/SKILL.md +++ b/plugins/deepnote/skills/deepnote-workspace/SKILL.md @@ -15,7 +15,7 @@ When the user asks for a workspace summary, heartbeat, overview, or which notebo 2. Use `list_projects` to collect projects and notebooks. For complete inventories, page through all results. 3. Use `list_integrations` to collect integration names, types, and IDs. 4. Use `get_notebook` for notebooks that need block, input, or recent-run detail. -5. Identify scheduled notebooks from `isScheduled`. +5. Identify notebooks that have schedules from `isScheduled`. If the user needs schedule counts, timing, or whether schedules are paused, use `list_schedules` for those notebooks; the flag alone does not convey this. For schedule changes, follow `deepnote-runs`. 6. Identify active notebooks from `lastRunAt` or an explicitly requested run status from `get_run`. `get_machine` reports the project machine's state, not open editor sessions. Say that active means recent run activity rather than an open editor session. Prefer `recently run`, `scheduled`, `pending run`, or `last run` over "currently open" or "currently running". 7. Map integration usage with the usage tools when direct usage matters. If usage was not checked, write `Usage not checked`; if a checked usage tool returns nothing, write `None found`. 8. Build project and notebook links with `deepnote-links`, using `utm_term=workspace_summary` for links created by this workflow rather than by a single tool result. From b756d4c950d76c525f296c1ac0c17346f41f51ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dino=20Hamzi=C4=87?= <31952489+dinohamzic@users.noreply.github.com> Date: Mon, 30 Nov 2026 10:29:08 +0100 Subject: [PATCH 2/3] docs(mcp): confirm unintended resumption of paused schedules --- plugins/deepnote/skills/deepnote-runs/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/deepnote/skills/deepnote-runs/SKILL.md b/plugins/deepnote/skills/deepnote-runs/SKILL.md index 389c691..00a0f3a 100644 --- a/plugins/deepnote/skills/deepnote-runs/SKILL.md +++ b/plugins/deepnote/skills/deepnote-runs/SKILL.md @@ -42,7 +42,7 @@ A schedule is a recurring run configuration, not a run. Use the schedule tools, 1. Resolve the notebook by name or ID, then call `list_schedules`. Use its returned schedule IDs to select the target for an update or deletion. For several same-named or unnamed schedules, disambiguate by timing, timezone, or ID. 2. For creation or a change affecting future execution, read the notebook first and apply the execution risk check above. For input overrides, use the exact notebook input names and value types from Run Inputs. They do not change the saved notebook values. 3. Use `create_schedule` only to add a schedule; it is not an upsert. Use a five-field cron expression and pass the user's intended IANA timezone, or explain that the default is UTC. If a matching schedule already exists, report it rather than creating a duplicate unless the user explicitly wants another. Creating or updating requires an eligible workspace plan and role and permission to schedule the notebook; runs more frequent than hourly require Enterprise. If the workspace allows only one schedule or does not support overrides, report a rejection rather than replacing an existing schedule or dropping inputs. -4. Use `update_schedule` with the selected ID and only the requested fields. When changing one input override, merge the new value into the existing `inputs` map from `list_schedules`, then send the whole map. Omit `inputs` when unchanged. Any update resumes a paused schedule and transfers ownership to the caller, so future runs execute as the caller; mention these effects when relevant. Avoid unchanged updates unless the user wants to resume the schedule or take ownership. +4. Use `update_schedule` with the selected ID and only the requested fields. When changing one input override, merge the new value into the existing `inputs` map from `list_schedules`, then send the whole map. Omit `inputs` when unchanged. Any update resumes a paused schedule and transfers ownership to the caller, so future runs execute as the caller. If the schedule is paused and the user has not explicitly asked to resume it, explain both effects and confirm before updating. Avoid unchanged updates unless the user wants to resume the schedule or take ownership. 5. Use `delete_schedule` only for the schedule the user wants removed. Deletion is not pausing; the deleted schedule cannot be restored, though a new one can be created. MCP cannot directly pause a schedule or turn output syncing back on. Do not substitute deletion for a request to pause. 6. Report the schedule name (if any), ID, cron, timezone, next run (or pause reason), and whether its runs update notebook outputs. The API can return a computed `nextRunAt` even for a paused schedule; do not present it as an upcoming execution. A null next run means the stored timing cannot be resolved. Report only safe input summaries or input names, not secret values. From 3e230baa3173dc38abcd3ba6d7328291ae77d594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dino=20Hamzi=C4=87?= <31952489+dinohamzic@users.noreply.github.com> Date: Mon, 30 Nov 2026 11:18:56 +0100 Subject: [PATCH 3/3] docs(mcp): confirm unintended output-sync disabling --- plugins/deepnote/skills/deepnote-runs/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/deepnote/skills/deepnote-runs/SKILL.md b/plugins/deepnote/skills/deepnote-runs/SKILL.md index 00a0f3a..bfbfcd8 100644 --- a/plugins/deepnote/skills/deepnote-runs/SKILL.md +++ b/plugins/deepnote/skills/deepnote-runs/SKILL.md @@ -42,7 +42,7 @@ A schedule is a recurring run configuration, not a run. Use the schedule tools, 1. Resolve the notebook by name or ID, then call `list_schedules`. Use its returned schedule IDs to select the target for an update or deletion. For several same-named or unnamed schedules, disambiguate by timing, timezone, or ID. 2. For creation or a change affecting future execution, read the notebook first and apply the execution risk check above. For input overrides, use the exact notebook input names and value types from Run Inputs. They do not change the saved notebook values. 3. Use `create_schedule` only to add a schedule; it is not an upsert. Use a five-field cron expression and pass the user's intended IANA timezone, or explain that the default is UTC. If a matching schedule already exists, report it rather than creating a duplicate unless the user explicitly wants another. Creating or updating requires an eligible workspace plan and role and permission to schedule the notebook; runs more frequent than hourly require Enterprise. If the workspace allows only one schedule or does not support overrides, report a rejection rather than replacing an existing schedule or dropping inputs. -4. Use `update_schedule` with the selected ID and only the requested fields. When changing one input override, merge the new value into the existing `inputs` map from `list_schedules`, then send the whole map. Omit `inputs` when unchanged. Any update resumes a paused schedule and transfers ownership to the caller, so future runs execute as the caller. If the schedule is paused and the user has not explicitly asked to resume it, explain both effects and confirm before updating. Avoid unchanged updates unless the user wants to resume the schedule or take ownership. +4. Use `update_schedule` with the selected ID and only the requested fields. When changing one input override, merge the new value into the existing `inputs` map from `list_schedules`, then send the whole map. Omit `inputs` when unchanged. Any update resumes a paused schedule and transfers ownership to the caller, so future runs execute as the caller. If the schedule is paused and the user has not explicitly asked to resume it, explain both effects and confirm before updating. If `updatesNotebook` is true and the update sets non-empty `inputs`, explain that output syncing will stop and confirm unless the user has already asked to disable it. Avoid unchanged updates unless the user wants to resume the schedule or take ownership. 5. Use `delete_schedule` only for the schedule the user wants removed. Deletion is not pausing; the deleted schedule cannot be restored, though a new one can be created. MCP cannot directly pause a schedule or turn output syncing back on. Do not substitute deletion for a request to pause. 6. Report the schedule name (if any), ID, cron, timezone, next run (or pause reason), and whether its runs update notebook outputs. The API can return a computed `nextRunAt` even for a paused schedule; do not present it as an upcoming execution. A null next run means the stored timing cannot be resolved. Report only safe input summaries or input names, not secret values.