---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/openai_responses/helpers/functions/deCollideOpenAIResponsesToolCallIds.md
---

# Function: deCollideOpenAIResponsesToolCallIds()

```ts
function deCollideOpenAIResponsesToolCallIds(
  id: string,
  ctx: DispatchContext,
): string;
```

Defined in: [src/batteries/llm/openai\_responses/helpers.ts:78](https://github.com/NHTIO/ADK/blob/v1.20260905.0/src/src/batteries/llm/openai_responses/helpers.ts#L78)

De-collides a Responses id while preserving a valid `fc_` item discriminator.

## Parameters

| Parameter | Type                                                                    |
| --------- | ----------------------------------------------------------------------- |
| `id`      | `string`                                                                |
| `ctx`     | [`DispatchContext`](../../../../../types/interfaces/DispatchContext.md) |

## Returns

`string`
