Generate Single
generate_singleCreates a single project directory from a Git template by cloning the repo, reading its protocol, validating the spec, and copying files; the target directory must be empty or nonexistent.
Instructions
单端直生成:clone → 读协议 → spec 校验 → copier copy(零注册,target_dir 须为空/不存在)。
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": {
"git_url": "<git_url>",
"params": "<params>",
"target_dir": "<target_dir>"
},
"name": "generate_single"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | ||
| git_url | Yes | ||
| version | No | ||
| skip_tasks | No | ||
| target_dir | Yes |