arkcli +chat --model <id> "<prompt>" | 最简用法:纯文本对话 |
arkcli +chat --model <id> --stream "<prompt>" | 流式输出(thinking + response 两段) |
arkcli +chat --model <id> --instructions "你是简洁助手" "<prompt>" | 系统级指令 |
arkcli +chat --model <id> --temperature 0.2 --max-output-tokens 256 "<prompt>" | 采样调节 |
arkcli +chat --model <id> --reasoning-effort high "<prompt>" | 提高思考强度 |
arkcli +chat --model <id> --input @file.jpg "<prompt>" | 多模态(本地文件,支持图/视/音) |
arkcli +chat --model <id> --input @a.jpg --input @b.jpg "<prompt>" | 多文件 |
arkcli +chat --model <id> --store "<prompt>" 拿到 id 后再 --previous-response-id <id> "<下一句>" | 持久化 + 多轮接续 |
arkcli +chat --model <id> --tools web_search --tool-choice auto "<prompt>" | Tools: 联网检索 |
arkcli +chat --model <id> --tools-file tools.json --tool-choice required "<prompt>" | Tools: 自定义 function |
arkcli chat get <response-id> | 拿回 store 过的 response(含 function_calls) |
arkcli chat list-input-items <response-id> --order desc --limit 5 | 列出输入项(多轮历史) |
arkcli chat delete <response-id> | 删除 store 过的 response |
arkcli +chat --model <id> --caching enabled --store "<prompt>" | 启用 prompt cache + 持久化 |
arkcli +chat --model <id> --thinking disabled --max-output-tokens 100 "<prompt>" | 关思考压短输出 |
arkcli +chat --model <id> --text-format json_object "<prompt>" | 强制模型出合法 JSON |
arkcli +chat --model <id> --text-format json_schema --text-schema schema.json --text-strict "<prompt>" | 用 JSON Schema 强约束 shape |
arkcli +chat --model <id> --stream --include-events "<prompt>" | 流式 NDJSON(每行一个 SDK 事件 JSON) |