Type-check a TypeScript three.js project
three_typesRuns tsc --noEmit to surface three.js type errors and resolve them against the installed release, including missing members, export paths, removed APIs, and @types mismatches.
Instructions
Run the project's own TypeScript (tsc --noEmit) and return the type errors about three.js, each with the answer from the installed release: the member that does exist (did you mean), where a name is really exported from ('three' or 'three/addons/...'), removed paths, and a note when @types/three is a different release than three. all: true lists the other type errors too. Needs typescript and a tsconfig.json in the project; for JavaScript use three_review. Read-only (tsc runs with --noEmit).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "three_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| path | No | Project folder, or a file or folder in it (relative to the server's folder; default: the project). | |
| limit | No | ||
| three | No | Path to a three package folder, when it is not in node_modules above the project. |