Returns the caller's globs to match relative to the given root. A glob is relative to every root,
and if it starts with the name of this root, e.g. backend/src/**/*.ts as in the paths this tool
returns, its rest is relative to this root as well, as the caller may mean either.
Renders a search-result URI in the format expected by the caller: an absolute
path for external roots, or a <rootName>/<relativePath> for workspace roots.
Returns the caller's globs to match relative to the given root. A glob is relative to every root, and if it starts with the name of this root, e.g.
backend/src/**/*.tsas in the paths this tool returns, its rest is relative to this root as well, as the caller may mean either.