SwiftfuncPromptKitPromptKit.PromptRequest.PromptVariant.ChatPrompt
mapToolCalls
PromptKit.PromptRequest.PromptVariant.ChatPrompt.mapToolCalls((PromptKit.Prompt.ToolCall) throws -> PromptKit.Prompt.ToolCall) throws -> PromptKit.PromptRequest.PromptVariant.ChatPrompt
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0_function
(PromptKit.Prompt.ToolCall) throws -> PromptKit.Prompt.ToolCallthrows