Skip to main content
Version: 0.10.0

Type Alias: LLMToolOpts

LLMToolOpts = object

Defined in: extensions/llm/tasks/llmChatSession.ts:50

Configuration options for tool calling in an LLM chat session.

Properties

maxToolTurns?

readonly optional maxToolTurns: number

Defined in: extensions/llm/tasks/llmChatSession.ts:56

Maximum consecutive tool execution turns to prevent runaway loops. Defaults to 5.


parseToolCalls

readonly parseToolCalls: ToolParser

Defined in: extensions/llm/tasks/llmChatSession.ts:54

Parser function to extract tool calls from generated output.


tools

readonly tools: readonly ToolDefinition[]

Defined in: extensions/llm/tasks/llmChatSession.ts:52

Tool definitions available to the model.