add-tool
Installation
SKILL.md
Add Tool
Add one or more new tools to an existing MCP collection. This skill handles creating the tool file, updating the collection index, and optionally adding integration tests and eval tests.
Use this skill when:
- A new API endpoint has been added and needs a tool
- You want to expose an additional operation from an existing collection
/build-toolsskipped the collection because it already has anindex.ts
Prerequisites
Before running, ensure:
- The collection already exists (
src/umbraco-api/tools/{collection}/index.ts) - The API client has been generated (
src/umbraco-api/api/generated/exists — if not, runnpm run generate) - The project compiles:
npm run compile