Function calling - API response and context window

Hi there! I’ve built a function that fetches websites, clean the HTML and send back the scraped content as a response. I use GPT-4-Turbo, so the context window is quite big.

But how big can the website content be when doing a function call? The website-content isn’t send in the actual conversation, so I’m not sure what the limit of the fetched site-content should be and if there needs to be a limit at all.

I’m not sure I follow the question fully, but the results of the tool/function call (i.e. the website content) would count towards the 128k context window.