---
title: "removeToolCall(id:)"
framework: foundationmodels
role: symbol
role_heading: Type Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.struct/removetoolcall(id:)"
---

# removeToolCall(id:)

## Declaration

```swift
static func removeToolCall(id: String) -> LanguageModelExecutorGenerationChannel.ToolCalls.Action
```
