There are scenarios where an iframe may have access to information that the top-level document is not privy to.
Assuming that #57 would allow that iframe to register tools, these tools could provide such information to the agent.
But #51 can allow any 3P script on the top-level to access these tools and extract that private information.
It'd be good to find a way for the tool to restrict access to the information to the browser's agent and/or to certain origins.
There are scenarios where an iframe may have access to information that the top-level document is not privy to.
Assuming that #57 would allow that iframe to register tools, these tools could provide such information to the agent.
But #51 can allow any 3P script on the top-level to access these tools and extract that private information.
It'd be good to find a way for the tool to restrict access to the information to the browser's agent and/or to certain origins.