MCPcopy Create free account
hub / github.com/modelcontextprotocol/inspector / handleGetPrompt

Function handleGetPrompt

client/src/components/PromptsTab.tsx:97–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 };
96
97 const handleGetPrompt = () => {
98 if (selectedPrompt) {
99 getPrompt(selectedPrompt.name, promptArgs);
100 }
101 };
102
103 return (
104 <TabsContent value="prompts">

Callers

nothing calls this directly

Calls 1

getPromptFunction · 0.50

Tested by

no test coverage detected