Skip to content

Grant user gesture activation when interacting with the webpage #62

@beaufortfrancois

Description

@beaufortfrancois

Even though the WebMCP proposal has a requestUserInteraction() agent method to asynchronously seek user input during the execution of a tool, I wonder if we should also grant user gesture activation when interacting with the webpage from a WebMCP tool execute() function.

https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/User_activation#transient_activation is a non-exhaustive list of Web APIs gated by transient activation, which means those don't work for now in WebMCP.

One thing worth noting is that some Web APIs actually consume user activation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions