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

# With Modified Input • Rust AI Agent SDK

> with_modified_input: Add modified input

# with\_modified\_input

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**HookResult**](../classes/HookResult) class in the [**hooks**](../modules/hooks) module.

Add modified input

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def with_modified_input(mut self, input: HashMap<String, serde_json::Value>) -> Self
```

## Parameters

<ParamField query="input" type="HashMap<String" required={true}>
  No description available.
</ParamField>

<ParamField query="serde_json" type=":Value>" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Self">
  The result of the operation.
</ResponseField>
