@chinmaymk/aikit / formatToolChoice
Function: formatToolChoice()
formatToolChoice(
toolChoice
):object
Defined in: providers/anthropic-transformers.ts:104
Parameters
toolChoice
undefined
| { name
: string
; } | "auto"
| "required"
| "none"
Returns
object
type
type:
"tool"
|"auto"
|"any"
name?
optional
name:string