runtimeInjectsToolDeclarations property

bool runtimeInjectsToolDeclarations
final

True when the runtime renders the tool declarations itself, so the chat must not add its own tools prompt. False leaves it to the model's function-call format (true for Gemma 4 and FunctionGemma on .litertlm).

Implementation

final bool runtimeInjectsToolDeclarations;