(input: Partial<z.infer<ReturnType<typeof inputSchema>>>)
| 8 | import { jsonStringify } from '../../utils/slowOperations.js'; |
| 9 | import type { inputSchema, Output } from './ReadMcpResourceTool.js'; |
| 10 | export function renderToolUseMessage(input: Partial<z.infer<ReturnType<typeof inputSchema>>>): React.ReactNode { |
| 11 | if (!input.uri || !input.server) { |
| 12 | return null; |
| 13 | } |
| 14 | return `Read resource "${input.uri}" from server "${input.server}"`; |
| 15 | } |
| 16 | export function userFacingName(): string { |
| 17 | return 'readMcpResource'; |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected