Microsoft.Extensions.AI Integration
Cross-SDK comparison
See the centralized MEAI documentation for feature matrices and comparisons across all tryAGI SDKs.
The Composio SDK provides AIFunction tool wrappers compatible with Microsoft.Extensions.AI. These tools can be used with any IChatClient to give AI models access to Composio's 250+ tool integrations, toolkit management, and connected account management.
Available Tools
| Method | Tool Name | Description |
|---|---|---|
AsExecuteToolTool() |
ExecuteComposioTool |
Executes any Composio tool by slug with arguments or natural language. |
AsListToolsTool() |
ListComposioTools |
Lists available tools with optional toolkit/search filtering. |
AsListToolkitsTool() |
ListComposioToolkits |
Lists available integrations (GitHub, Gmail, Slack, etc.). |
AsListConnectedAccountsTool() |
ListComposioConnectedAccounts |
Lists authenticated user connections to external services. |
Usage
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
Tool Details
ExecuteComposioTool
Executes a specific tool by its slug (e.g., github-actions, gmail-send-email).
Accepts either structured JSON arguments or a natural language text description.
Requires a connectedAccountId for authenticated tools.
1 | |
ListComposioTools
Lists available tools with optional filtering by toolkit slug or search query. Returns tool slugs, names, descriptions, and authentication requirements.
1 | |
ListComposioToolkits
Lists available integrations (toolkits) like GitHub, Gmail, Slack. Optionally filter by search query or category.
ListComposioConnectedAccounts
Lists all authenticated integration accounts for the current project. Returns account IDs needed for executing tools.