ToolCallControl

data class ToolCallControl(val toolCalls: Int = 5) : PromptContributor

PromptContributor to control tool usage.

Constructors

Link copied to clipboard
constructor(toolCalls: Int = 5)

Properties

Link copied to clipboard
open val role: String?

Role defaults to class simple name. Override for stereotyped roles.

Link copied to clipboard
val toolCalls: Int = 5

Functions

Link copied to clipboard
open override fun contribution(): String

Return the string content of the contribution.

Link copied to clipboard