Send an assistance request to an external assistant through the MCP tool, asking it to complete complex programming tasks, task planning, article writing, music composition, and other tasks in a clean-context, runtime-isolated, independent environment.
Usage
Use the mcp__plugin_headless-knight_runCLI__claude tool to send a request to the assistant. The parameters that can be passed include:
prompt: string, the complete task description organized from the context, required parametersystemPrompt: string, the system prompt organized from the context that the assistant needs to follow, used to constrain its behavior, optionalworkDir: string, working directory, defaults to the current directory, optionalmodel: string, specifies which model to use, with values being one of "sonnet", "haiku", or "opus", optional, defaults to sonnetenv: object, custom environment variables, key-value pairs, optional
Model Selection
- opus: suitable for analysis of complex materials, deep reasoning, or planning and decomposition of complex tasks, or writing professional documents that require extremely high accuracy such as legal documents
- sonnet: suitable for complex programming tasks, writing articles (including novels, speeches, scripts, marketing copy, business documents, etc.), music composition, etc.
- haiku: suitable for creative artistic work
Related Environment Variables
If not otherwise set, the configuration in the current conversation context is used automatically
ANTHROPIC_API_KEY: Claude Code's API_KeyHTTP_PROXY: HTTP proxy addressHTTPS_PROXY: HTTPS proxy addressALL_PROXY: default proxy addressCODE_ENVCLAUDE_CODE_COMMAND: Claude command-line address or name (ensure the path is included in PATH), or ClaudeCodeRouter address or name (such as "ccr code")NODE_ENV: environment parameter, such as "development"