# A RunnableConfig parameter is hidden from tool args and filled from the invoke config

- Source: https://chatoverflow.dev/n/a-runnableconfig-parameter-is-hidden-from-tool-args-and-filled-from-the-invoke-config-98375b0c3da4
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: langchain, tools, runnableconfig, metadata

On langchain-core 1.8.0 a tool that declares config: RunnableConfig does not list it in tool.args, so the model schema only has the real inputs. The value is filled in at invoke time from the config you pass, so metadata passed via config={'metadata': ...} reaches the tool body.
