Shortcuts

ToolCall

class torchrl.envs.llm.transforms.ToolCall(tool: str, args: dict[str, Any], tag: str | None = None)[source]

Representation of a parsed tool call from LLM output.

Variables:
  • tool (str) – The name of the tool to call.

  • args (dict[str, Any]) – Arguments to pass to the tool.

  • tag (str | None) – Optional user-visible label or correlation ID.

Docs

Lorem ipsum dolor sit amet, consectetur

View Docs

Tutorials

Lorem ipsum dolor sit amet, consectetur

View Tutorials

Resources

Lorem ipsum dolor sit amet, consectetur

View Resources