Commands

@livekit.agents.function_tool

A decorator that tells LiveKit to treat the following Python function as a tool the assistant can call when the user asks for it.

Related areas

  • Commands
  • Decorator
  • Decorators

Alternate definitions 5

Definition 2Commands

A decorator that tells LiveKit to expose a regular Python function as a tool the language model can call.

Commands · curriculum materials

Definition 3Decorator

A decorator that tells LiveKit to expose a regular Python function as a tool the LLM can call.

Decorator · curriculum materials

Definition 4Decorators

A decorator that tells LiveKit to treat a regular Python function as a tool the language model can call during a voice chat.

Decorators · curriculum materials

Definition 5Decorators

A decorator that tells LiveKit to treat a regular Python function as a tool the LLM can call during conversation.

Decorators · curriculum materials

Definition 6Commands

A decorator that tells LiveKit to treat a regular Python function as a callable tool for the assistant.

Commands · curriculum materials

Return to all terms