Interface ToolAdvisor
- All Superinterfaces:
Advisor,org.springframework.core.Ordered
- All Known Implementing Classes:
ToolCallAdvisor,ToolCallingAdvisor
Marker interface for advisors that own the tool-call lifecycle. An advisor implementing
this interface takes responsibility for executing tools and driving the tool-call loop,
replacing the model-internal tool execution path.
DefaultChatClient uses this marker to detect
whether a tool-call handling advisor is already present in the chain, and to avoid
auto-registering a duplicate.
- Since:
- 2.0.0
- Author:
- Christian Tzolov
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.ai.chat.client.advisor.api.Advisor
DEFAULT_CHAT_MEMORY_PRECEDENCE_ORDERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Methods inherited from interface org.springframework.core.Ordered
getOrder