Agent API
Returns type-safe array responses with element schema using ToolLoopAgent. Each element matches the defined type.