> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.tools.dependency_injection.inject_params

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### inject\_params

```python theme={null}
inject_params(f: Callable[..., Any]) -> Callable[..., Any]
```

Injects parameters into a function, removing injected dependencies from its signature.<br />This function is used to modify a function by injecting dependencies and removing
injected parameters from the function's signature.<br />

<b>Parameters:</b>

| Name | Description                                                                                |
| ---- | ------------------------------------------------------------------------------------------ |
| `f`  | The function to modify with dependency injection.<br /><br />**Type:** Callable\[..., Any] |

<b>Returns:</b>

| Type                | Description                                                             |
| ------------------- | ----------------------------------------------------------------------- |
| Callable\[..., Any] | The modified function with injected dependencies and updated signature. |

<br />
