Registers the tools for session's document. Returns a function that removes them, or null when the browser has no WebMCP.
session
null
Registers the tools for
session's document. Returns a function that removes them, ornullwhen the browser has no WebMCP.