Uses of Class
com.github.copilot.rpc.PreMcpToolCallHookInput
Packages that use PreMcpToolCallHookInput
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of PreMcpToolCallHookInput in com.github.copilot.rpc
Methods in com.github.copilot.rpc that return PreMcpToolCallHookInputModifier and TypeMethodDescriptionPreMcpToolCallHookInput.setArguments(com.fasterxml.jackson.databind.JsonNode arguments) Sets the arguments for the MCP tool call.Sets the current working directory.Sets the MCP request metadata.PreMcpToolCallHookInput.setServerName(String serverName) Sets the name of the MCP server being called.PreMcpToolCallHookInput.setSessionId(String sessionId) Sets the runtime session ID of the session that triggered the hook.PreMcpToolCallHookInput.setTimestamp(long timestamp) Sets the timestamp of the hook invocation.PreMcpToolCallHookInput.setToolCallId(String toolCallId) Sets the tool call ID.PreMcpToolCallHookInput.setToolName(String toolName) Sets the name of the MCP tool being called.Methods in com.github.copilot.rpc with parameters of type PreMcpToolCallHookInputModifier and TypeMethodDescriptionPreMcpToolCallHandler.handle(PreMcpToolCallHookInput input, HookInvocation invocation) Handles a pre-MCP-tool-call hook invocation.