qwen_check_auth
Verify Qwen Code CLI authentication before qwen_prompt calls. Returns status, method, and a setup command if authentication fails.
Instructions
Check whether the Qwen Code CLI is authenticated before making any qwen_prompt calls.
Always call this first if you are unsure whether Qwen is set up. Returns: authenticated (bool), method (qwen-oauth / coding-plan / api-key), detail, suggestion. If authenticated is false, read the suggestion field — it contains the exact command to run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No | Seconds to wait for the auth check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||