Interface ToolMetadata
- All Known Implementing Classes:
DefaultToolMetadata
public interface ToolMetadata
Metadata about a tool specification and execution.
- Since:
- 1.0.0
- Author:
- Thomas Vitale
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultToolMetadata.Builder
builder()
Create a defaultToolMetadata
builder.static ToolMetadata
Create a defaultToolMetadata
instance from aMethod
.default boolean
Whether the tool result should be returned directly or passed back to the model.
-
Method Details
-
returnDirect
default boolean returnDirect()Whether the tool result should be returned directly or passed back to the model. -
builder
Create a defaultToolMetadata
builder. -
from
Create a defaultToolMetadata
instance from aMethod
.
-