compile_project
Run the build command in a genshin-ts project directory to compile it, then capture the output and list of dist artifacts (.gia, .json, .gs.ts).
Instructions
在 projectDir 运行 npm run build / gsts,返回 stdout/stderr 与 dist 产物列表(.gia/.json/.gs.ts)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectDir": "<projectDir>"
},
"name": "compile_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectDir | Yes | genshin-ts 工程目录 |