ask-qwen
Send natural-language prompts to Qwen for code generation, review, refactoring, explanation, sandboxed testing, and large-file analysis, with @ references to include files.
Instructions
model selection [-m], sandbox [-s], and changeMode:boolean for providing edits
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": {
"prompt": "<prompt>"
},
"name": "ask-qwen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model to use (e.g., 'qwen-turbo'). If not specified, uses the default model (qwen-plus). | |
| prompt | Yes | Analysis request. Use @ syntax to include files (e.g., '@largefile.js explain what this does') or ask general questions | |
| sandbox | No | Use sandbox mode (-s flag) to safely test code changes, execute scripts, or run potentially risky operations in an isolated environment | |
| changeMode | No | Enable structured change mode - formats prompts to prevent tool errors and returns structured edit suggestions that Claude can apply directly | |
| chunkIndex | No | Which chunk to return (1-based) | |
| chunkCacheKey | No | Optional cache key for continuation |