Skip to content

[mcp] Expand tool search to custom MCPs.#16944

Open
mzeng-openai wants to merge 4 commits intomainfrom
dev/mzeng/expand-mcp-tool-search
Open

[mcp] Expand tool search to custom MCPs.#16944
mzeng-openai wants to merge 4 commits intomainfrom
dev/mzeng/expand-mcp-tool-search

Conversation

@mzeng-openai
Copy link
Copy Markdown
Collaborator

  • Expand tool search to custom MCPs.
  • Rename several variables/fields to be more generic.

@mzeng-openai mzeng-openai marked this pull request as ready for review April 6, 2026 21:27
.collect()
}

fn connector_description(description: Option<&str>) -> Option<String> {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only used once. inline?

Comment on lines +6513 to +6518
struct McpToolExposure {
direct_tools: HashMap<String, McpToolInfo>,
deferred_tools: Option<HashMap<String, McpToolInfo>>,
}

fn build_mcp_tool_exposure(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: codex.rs is already massive, can we define elsewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants