Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models via OpenAI-compatible API shim
TypeScript
import type { LocalCommandResult } from '../../commands.js'
import type { ToolUseContext } from '../../Tool.js'
export async function call(
_args: string,
context: ToolUseContext,
): Promise<LocalCommandResult> {
if (context.openMessageSelector) {
context.openMessageSelector()
}
// Return a skip message to not append any messages.
return { type: 'skip' }
}