Class WriteTodosTool.Builder
java.lang.Object
com.alibaba.cloud.ai.graph.agent.tools.WriteTodosTool.Builder
- Enclosing class:
- WriteTodosTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ai.tool.ToolCallbackbuild()todoEventHandler(WriteTodosTool.TodoEventHandler todoEventHandler) Set handler invoked when todos are updated.withDescription(String description)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withName
-
withDescription
-
todoEventHandler
Set handler invoked when todos are updated. Use for persistence, UI notification, or custom logic. -
build
public org.springframework.ai.tool.ToolCallback build()
-