v2026.5.3
All Bundles
Bundle Support for OpenAI responses APIs (-lib openai)

Tool

Tool like remote MCP servers or web search to extend the model's capabilities

Operations

GetName #

Get name of tool

method : public : GetName() ~ String

New # constructor

Constructor

New(tool_name:String)

Parameters

NameTypeDescription
tool_nameStringname of tool

New # constructor

Constructor

New(vector_store_ids:Vector<String>)

Parameters

NameTypeDescription
vector_store_idsVector<String>list of vector store IDs

New # constructor

Constructor

New(func_name:String, func_desc:String, func_params:ParameterType)

Parameters

NameTypeDescription
func_nameStringfunction name
func_descStringfunction description
func_paramsParameterTypefunction parameters

New # constructor

Constructor

New(server_label:String, server_url:Url)

Parameters

NameTypeDescription
server_labelStringserver label
server_urlUrlserver URL