ConstIdentity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Identity helper that locks in per-element argsSchema inference for a whole prompts array
defined outside a create_mcp_server / McpRouter call. One wrapper around the array
replaces wrapping every element with define_mcp_prompt. Do NOT annotate the result (or
the array) as McpPrompt[]; the annotation widens every element back to the default
generic and erases the inference this helper provides.
Fallback signature for prompts arrays beyond twelve entries; see McpPromptList.
Identity helper that locks in per-element
argsSchemainference for a whole prompts array defined outside acreate_mcp_server/McpRoutercall. One wrapper around the array replaces wrapping every element withdefine_mcp_prompt. Do NOT annotate the result (or the array) asMcpPrompt[]; the annotation widens every element back to the default generic and erases the inference this helper provides.