Skip to content
masterclass Buddy

LangChain · Class

RunnablePassthrough

RunnablePassthrough forwards an input unchanged. It can also add computed keys when the input is a dictionary.

Last updated

Since
v1.3

Syntax

RunnablePassthrough(func=None, afunc=None, *, input_type=None, **kwargs)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Runnable
  • RunnableSequence
  • RunnableParallel
  • RunnableAssign

Source: RunnablePassthrough | langchain_core | LangChain Reference. Checked 2026-11-03.