🔄 Big News! bazed.ai is now sagentic.ai. Same vision, new name!

Skip to content

@sagentic-ai/sagentic-af / getToolInterface

getToolInterface() ​

ts
getToolInterface(toolLike): undefined | ToolInterface

Get the tool interface of a toolable.

Parameters ​

• toolLike: ToolLike

Returns ​

undefined | ToolInterface

Tool interface or undefined

Source ​

src/tool.ts:138