HarnessMcpContext
Parameters and properties
Section titled “Parameters and properties”promptRequired(server: string, name: string, promptArguments: Readonly<Record<string, string>>) => Promise<string>Renders a prompt of a running MCP server as role-prefixed text. Fails with code configuration when the server is not declared or offers no prompts.