Who is calling a tool and how. Passed as the optional third argument to
McpToolHandler.execute.
McpCallerGrantThe OAuth grant behind the call. It is set for every call that arrived via MCP OAuth, and undefined for anonymous shop calls and in-process calls.
stringThe client IP resolved by the HTTP transport. It is set for every HTTP call, and undefined for in-process calls.