Skip to content

recipes: add opt-in AI import tool - #32

Merged
rldiao merged 1 commit into
mainfrom
agents/add-mcp-tool-for-ai-import
Oct 3, 2026
Merged

rldiao merged 1 commit into
mainfrom
agents/add-mcp-tool-for-ai-import

Conversation

@rldiao

@rldiao rldiao commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add import_recipe_with_ai for text, HTML/JSON, URLs, photos, combined sources, translation, and organizer creation.
  • Keep the tool hidden unless MEALIE_ENABLE_AI_IMPORT=true; preserve 61 default tools and configuration-free SDK discovery across supported transports.
  • Check group AI capabilities before importing, validate sources and multipart requests, and return the saved recipe with safe recovery guidance on failures.
  • Keep the tool description concise and avoid references to it in existing tool descriptions. Document setup and usage separately.

Gate AI import discovery behind MEALIE_ENABLE_AI_IMPORT and check group provider capabilities before importing combined sources. Preserve concise tool descriptions, safe recovery errors, and configuration-free SDK discovery.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rldiao
rldiao merged commit 86ebf37 into main Oct 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant