MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / needsTextToolMode

Function needsTextToolMode

src/llm/text-tool-protocol.ts:31–33  ·  view source on GitHub ↗
(supportsToolCalls: boolean)

Source from the content-addressed store, hash-verified

29
30/** True when this model can't take the native `tools` field and must use the text channel. */
31export function needsTextToolMode(supportsToolCalls: boolean): boolean {
32 return supportsToolCalls === false;
33}
34
35/** Render one tool schema as a compact, model-readable spec line block. */
36function renderToolSpec(schema: ToolSchema): string {

Callers 2

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected