Remove toolbox preview header from the Mastering Toolbox notebook#73
Open
lindazqli wants to merge 2 commits into
Open
Remove toolbox preview header from the Mastering Toolbox notebook#73lindazqli wants to merge 2 commits into
lindazqli wants to merge 2 commits into
Conversation
lindazqli
force-pushed
the
fix/toolbox-preview-header-scope
branch
from
July 17, 2026 01:32
daab7b6 to
14a884b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The
mastering-foundry-toolbox.ipynbnotebook applied aFoundry-Features: Toolboxes=V1Previewheader (via aTOOLBOX_HEADERSconstant) to every toolbox MCP call, the management REST API, and skill-resource reads. That header is not required for any of those paths. This PR removes it everywhere and corrects the surrounding prose.Why
tools/list/call_tool) needs only a bearer token scoped tohttps://ai.azure.com/.default- no preview header.POST .../versions,PATCH .../{name}) needs only the bearer token.resources/list/resources/read) is standard MCP against the same endpoint - no preview header.project.beta.skills.*create / update-default), and thebeta.skillsSDK sends it automatically - so it is never set by hand in the notebook.Changes
TOOLBOX_HEADERSdefinition and every**TOOLBOX_HEADERSspread (5 REST, verify cells, 10b skills, MAF, LangGraph, Copilot SDK).No tool behavior changes - the removed headers were unnecessary. Notebook JSON validated; all 59 cells intact.