Scaffold tool generator
scaffold_tool_generatorScaffolds a complete MCP tool file and unit test from a one-line idea. Returns integration hints to wire it into the server.
Instructions
Meta DX tool: scaffolds a new tdmcp tool file (xSchema + xImpl + registerX) and a matching offline msw unit test from a one-line idea. Returns the exact integration-hint (import line + array entry + layer index path) so the integrator can wire it without re-deciding shape. No TouchDesigner bridge call — pure local filesystem generator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | snake_case tool name, e.g. 'create_smoke_field' | |
| layer | No | Destination layer directory under src/tools/ | layer2 |
| surface | No | Scaffold template variant | bridge |
| description | Yes | One-line MCP tool description | |
| repo_root | No | Repo root (default: process.cwd()); for tests use a tmpdir | |
| overwrite | No | Overwrite existing file if true |