This example assumes using Apify; is in scope and apiKey contains your Apify API key.
| using var client = new ApifyClient(apiKey);
// Create AIFunction tools for use with any IChatClient
var runActorTool = client.AsRunActorTool();
var getRunStatusTool = client.AsGetRunStatusTool();
var listActorsTool = client.AsListActorsTool();
var getDatasetItemsTool = client.AsGetDatasetItemsTool();
var listRunsTool = client.AsListRunsTool();
// All tools are created with descriptive names and descriptions
|