This commit is contained in:
Matthew Zeng
2026-02-06 13:26:06 -08:00
parent 650e5796f3
commit 588f158a66

View File

@@ -1,3 +1,7 @@
pub(crate) fn render_apps_section() -> &'static str {
"## Apps\nApps are mentioned in the prompt in the format `[$app-name](apps://{connector_id})`.\nAn app is equivalent to a set of MCP tools.\nWhen you see an app mention, the app's MCP tools are either already provided, or do not exist because the user did not install it.\nDo not additionally call list_mcp_resources for apps that are already mentioned."
use crate::mcp::CODEX_APPS_MCP_SERVER_NAME;
pub(crate) fn render_apps_section() -> String {
format!(
"## Apps\nApps are mentioned in the prompt in the format `[$app-name](apps://{{connector_id}})`.\nAn app is equivalent to a set of MCP tools within the `{CODEX_APPS_MCP_SERVER_NAME}` MCP.\nWhen you see an app mention, the app's MCP tools are either already provided in `{CODEX_APPS_MCP_SERVER_NAME}`, or do not exist because the user did not install it.\nDo not additionally call list_mcp_resources for apps that are already mentioned."
)
}