AgentConnectors

class AgentConnectors[source]

Bases : ABC

Abstract base class for AgentApp connector execution.

Methods

call(tool_call)

Execute one model function_call and return a function_call_output item.

tools(names)

Return model-facing tool schemas for built-in connectors.

abstract call(tool_call: JSONObject) JSONObject[source]

Execute one model function_call and return a function_call_output item.

abstract tools(names: Sequence[str]) list[JSONObject][source]

Return model-facing tool schemas for built-in connectors.