After updating my iOS and xcode to latest iOS 27 beta5 and xcode 27 beta5 all the system language model session calls with tool calls inclusion throwing Unrecognized system-instruction prefix ID: com.apple.fm_api.tool_calls_override error.
The same code was working perfectly in iOS27 beta 4. Even the apple sample project OrigamiCraftingADynamicTutorialForAppleIntelligence failing with the same error when tool calls invoked. Anybody else facing similar issue or any workaround for this issue?
sample code: struct GetRecordNotesTool: Tool { let name = "getRecordNotes" let description = "Fetches internal notes and returns Note_Title and Note_Content for up to 10 notes."
@Generable
struct Arguments {
@Guide(description: "The API name of the module, e.g. Companies or Contacts")
var module_api_name: String
@Guide(description: "The unique record ID to fetch notes for")
var record_id: String
}
func call(arguments: Arguments) async throws -> String {
return "Fetched content"
}
}