As discussed in #51 , in-page agents may be better off if their are not "in-page" and are able to be spun off to an iframe.
Similarly, it might be good to enable iframes to expose tools to the parent page, so that a single agent can have context from the entire page surface that the user is seeing.
What if we had a way for an iframe to say "I want to register a tool with my parent (or top-level) frame", and the parent had a permission policy that allowed iframes to do that? Wouldn't that be neat? :D
Once #51 settles, it'd be similarly neat to have the iframe be able to execute tools on the parent/top-level, provided similar permissions.