kimi_query
Ask general programming questions, get algorithm explanations, or obtain a second opinion without codebase context.
Instructions
Ask Kimi Code a question without codebase context. Default model: k3 (K3). Use for general programming questions, algorithm explanations, or getting a second opinion.
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": "kimi_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model id/alias. Default: k3 (K3). Examples: k3, kimi-code/k3, kimi-for-coding. Env override: KIMICODE_MODEL or KIMI_MODEL. | |
| prompt | Yes | The question to ask Kimi | |
| thinking | No | Enable thinking mode (default: false for speed; CLI path only) | |
| include_thinking | No | Include Kimi internal reasoning. Default: false. | |
| max_output_tokens | No | Max tokens in response (~4 chars/token). Default: 15000. |