生成抖音预览二维码
douyin_previewPreview Douyin mini programs and games by generating QR codes via the correct command for the project type, enabling testing with custom scenes, queries, and launch options.
Instructions
按工程类型路由:小游戏走 tmg preview(--output),其余走 tma preview(--qrcode-output)。输出二维码只能写入工作区内。可传 small/copy/query/scene/launchFrom 透传官方选项。
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": "douyin_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | No | ||
| query | No | ||
| scene | No | ||
| small | No | ||
| timeoutMs | No | ||
| launchFrom | No | ||
| projectPath | No | ||
| qrcodeOutput | No | ||
| expectedProjectType | No |