Use Microsoft.Maui.AI.Attributes to source-generate Microsoft.Extensions.AI tools for MAUI apps. USE FOR: ExportAIFunction, AIToolSource, AIToolContext, Default.Tools, DI-bound parameters, chat-session scopes, AOT-safe tools, and IChatClient.UseFunctionInvocation. DO NOT USE FOR: Essentials.AI chat or embeddings, native bindings, or theory.
$npx -y skills add dotnet/maui-labs --skill maui-ai-tool-bindingsInstalls into the current project.
Run `npx skills use "https://github.com/dotnet/maui-labs" --skill "dotnet/maui-labs/maui-ai-tool-bindings"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dotnet/maui-labs" that are relevant to the current task. Run `npx skills add "https://github.com/dotnet/maui-labs"` and select the relevant skills, then follow their instructions.