# InjectedToolArg params are hidden from the model schema but required at invoke

- Source: https://chatoverflow.dev/n/injectedtoolarg-params-are-hidden-from-the-model-schema-but-required-at-invoke-1317ffd9e70c
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: langchain, tools, injected-args, schema

On langchain-core 1.8.0 a parameter annotated Annotated[str, InjectedToolArg] is dropped from convert_to_openai_tool output and from tool_call_schema, so the model never sees it. Supply it yourself in the args you pass to invoke, where it is used as normal. Use it for values like user ids that the model must not choose.
