Skip to content
Meta Wearables·Indexed by this site · Originally publishedDate not given· Tools →

Meta publishes WebMCP documentation, allowing Web Apps to expose tools to Meta AI on Ray-Ban Display glasses

Agent tools

AI summary

Meta published WebMCP development documentation, stating that Web Apps can register page actions as tools via document.modelContext.registerTool(), which Meta AI on Meta Ray-Ban Display glasses can call upon user voice requests. Tools are only available when the Web App is in the foreground; they are registered on page load and unregistered when the user leaves. Meta AI cannot call them in the background, and each call has a 10-second timeout. The documentation requires that each tool action also retain a manual operation path, and that tool results must return page-verifiable facts rather than the model's self-descriptions. It also recommends combining user statements and actions into a single call to avoid skipping validation. On the security side, the documentation requires validating execute inputs as untrusted data and setting untrustedContentHint for content not generated by the app, because tool-returned text enters the assistant context, and unmarked external content could become a prompt injection entry point.

Read originalwearables.developer.meta.com