Replace the request with a new request with the given overrides.
Returns a new ToolCallRequest instance with the specified attributes replaced.
This follows an immutable pattern, leaving the original request unchanged.
override(
self,
**overrides: Unpack[_ToolCallRequestOverrides] = {},
) -> ToolCallRequest| Name | Type | Description |
|---|---|---|
**overrides | Unpack[_ToolCallRequestOverrides] | Default: {}Keyword arguments for attributes to override. Supported keys:
|