ActionServerToolkit#

class langchain_robocorp.toolkits.ActionServerToolkit[source]#

Bases: BaseModel

Toolkit exposing Robocorp Action Server provided actions as individual tools.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param additional_headers: dict [Optional]#

Additional headers to be passed to the Action Server

param api_key: str = ''#

Action Server request API key

param report_trace: bool = False#

Enable reporting Langsmith trace to Action Server runs

param url: str [Required]#

Action Server URL

get_tools(llm: BaseChatModel | None = None, callback_manager: CallbackManager | None = None) List[BaseTool][source]#

Get Action Server actions as a toolkit

Parameters:
  • llm (BaseChatModel | None) – Optionally pass a model to return single input tools

  • callback_manager (CallbackManager | None) – Callback manager to be passed to tools

Return type:

List[BaseTool]