File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,18 @@ Define complex inputs with Pydantic models or JSON schemas:
138138 return result
139139 ```
140140</CodeGroup >
141+
142+ :::python
143+ ### Reserved argument names
144+
145+ The following parameter names are reserved and cannot be used as tool arguments. Using these names will cause runtime errors.
146+
147+ | Parameter name | Purpose |
148+ | ----------------| ---------|
149+ | ` config ` | Reserved for passing ` RunnableConfig ` to tools internally |
150+ | ` runtime ` | Reserved for ` ToolRuntime ` parameter (accessing state, context, store) |
151+
152+ To access runtime information, use the @[ ` ToolRuntime ` ] parameter instead of naming your own arguments ` config ` or ` runtime ` .
141153:::
142154
143155## Accessing Context
You can’t perform that action at this time.
0 commit comments