| Name | Type |
|---|---|
| tool_call | ToolCall |
| tool | BaseTool | None |
| state | Any |
| runtime | ToolRuntime |
Tool execution request passed to tool call interceptors.
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.