withToolObjects

fun withToolObjects(vararg toolObjects: Any): AgenticTool

Create a copy with tools extracted from multiple objects with @LlmTool methods. Objects without @LlmTool methods are silently ignored.