tool

Parameters

value

Defines a specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See Named Tool for more information.


@JvmName(name = "myljmxqnywguvvfc")
suspend fun tool(argument: suspend AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoiceToolArgsBuilder.() -> Unit)

Parameters

argument

Defines a specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See Named Tool for more information.