microsoft-toolbox
Skill188 starsChanged 5 months agoMITView on GitHub
Help a learner use Microsoft Toolbox to define tools once and govern them centrally, then consume a toolbox from an agent through a single MCP endpoint. Use for Lesson 6 tasks: tool discovery, registration, governance, and versioning.
- Reads credentials
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- translations/bn/AGENTS.mdAGENTS.md
- translations/cs/AGENTS.mdAGENTS.md
- translations/da/AGENTS.mdAGENTS.md
- translations/en/AGENTS.mdAGENTS.md
- translations/es/AGENTS.mdAGENTS.md
- translations/hu/AGENTS.mdAGENTS.md
- translations/id/AGENTS.mdAGENTS.md
- translations/ko/AGENTS.mdAGENTS.md
- translations/lt/AGENTS.mdAGENTS.md
- translations/mr/AGENTS.mdAGENTS.md
- translations/ms/AGENTS.mdAGENTS.md
- translations/nl/AGENTS.mdAGENTS.md
- translations/pa/AGENTS.mdAGENTS.md
- translations/pt-BR/AGENTS.mdAGENTS.md
- translations/pt-PT/AGENTS.mdAGENTS.md
- translations/th/AGENTS.mdAGENTS.md
- translations/tl/AGENTS.mdAGENTS.md
- translations/vi/AGENTS.mdAGENTS.md
- agent-evaluationSkill
- foundry-agent-basicsSkill
- hosted-agent-deploymentSkill
- mcp-integrationSkill
- multi-agent-a2aSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Start from toolbox_agent.py.
- Distinctive: line 35
If the learner asks to *create/manage* toolboxes in code, explain the management API is preview and may require a newer SDK than the pinned …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Microsoft Toolbox
Guidance for centralised tool governance (Lesson 6).
Guardrails (always apply)
- Terminology: Microsoft Toolbox (define/govern tools centrally), consumed by agents over an MCP endpoint.
- The consume side works with the pinned
agent-frameworkSDK. The Toolbox management API (project.toolboxes.*) is preview and is not in the pinned SDK — call this out and avoid presenting it as GA. - Endpoint via
TOOLBOX_ENDPOINTin.env; auth viaaz login.
Concepts a learner should grasp
- Why a toolbox: define a tool once, govern it centrally (access, versioning, approvals), and let many agents consume it — instead of each agent re-implementing tools.
- Consume via one MCP endpoint: an agent points at the toolbox's MCP endpoint and gets its governed tools, rather than wiring each tool individually.
- Governance & versioning: central control makes it safe to update or retire a tool without breaking every agent.
Worked example in this repo
lesson-6-toolbox/toolbox_agent.pyis the consume sample: it reaches a toolbox through a single MCP endpoint and uses its tools. Use it as the reference.
How to help
- Start from
toolbox_agent.py; adapt the toolbox endpoint. - If the learner asks to create/manage toolboxes in code, explain the management API is preview and may require a newer SDK than the pinned one; prefer the portal/preview docs and keep the sample on the consume side.
Validate
python -m py_compile lesson-6-toolbox/toolbox_agent.py.- The agent should discover and call at least one governed tool via the toolbox endpoint.
References
lesson-6-toolbox/README.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

