Assistant: Support the insert notebook cells tool
The insert notebook cells tool was recently added to the IDE but is not yet hooked up to the Assistant chat participants.
It should be as simple as not filtering the tool out in the assistant participant implementation.
Note that this tool should only be available in inline chat in a notebook, and possibly in the chat pane in edit mode.
Related to #7419
After taking a closer look at insertNotebookCellsTool.ts it seems to be a work in progress:
- The tool is not registered upstream yet.
- It doesn't actually seem to insert notebook cells yet.
EditToolRawParamsandEditToolParamsdefine acodeattribute butEditToolDatadefinescells.- I can't find this file on Code OSS
mainanymore.
I vote to defer this to post RC for now.
This might be bundled in the copilot chat extension TODO - determine feasibility and effort
@nstrayer pr includes a custom approach on our notebook instance. confirm this is addressed with pr
Verified Fixed
Positron Version(s) : 2025.12.0-64
OS Version : OSX
Test scenario(s)
Settings:
{
"files.associations": {
"renv.lock": "json"
},
"positron.assistant.notebookMode.enable": true,
"positron.assistant.alwaysIncludeCopilotTools": true,
"positron.assistant.enable": true,
"positron.assistant.enabledProviders": [
"amazon-bedrock"
],
}
In Agent mode. Was able to add a cell to the end of a notebook with a Gaussian distribution.
Link(s) to TestRail test cases run or created: